Click here to Skip to main content
16,010,022 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What is the Definative Book on C++. Pin
Raskolnikov19-Aug-02 11:54
Raskolnikov19-Aug-02 11:54 
AnswerRe: What is the Definative Book on C++. Pin
Stuart Dootson19-Aug-02 8:33
professionalStuart Dootson19-Aug-02 8:33 
GeneralMFC Assertion Failures Pin
gm_coll19-Aug-02 5:34
gm_coll19-Aug-02 5:34 
GeneralRe: MFC Assertion Failures Pin
Tomasz Sowinski19-Aug-02 5:36
Tomasz Sowinski19-Aug-02 5:36 
GeneralRe: MFC Assertion Failures Pin
gm_coll19-Aug-02 6:07
gm_coll19-Aug-02 6:07 
GeneralRe: MFC Assertion Failures Pin
Tomasz Sowinski19-Aug-02 6:14
Tomasz Sowinski19-Aug-02 6:14 
GeneralRe: MFC Assertion Failures Pin
Mustafa Demirhan19-Aug-02 13:33
Mustafa Demirhan19-Aug-02 13:33 
GeneralRe: MFC Assertion Failures Pin
gm_coll19-Aug-02 23:51
gm_coll19-Aug-02 23:51 
No, none of my controls are deleted or the IDs changed. I do however use the variable (double) for the edit box to Format 2 different CStrings in my code. So the first Format is

CString grstr;
grstr.Format(_T("%.20f"), m_nGrams);

in order to be able to deal with very small numbers. I then manipulate the CString in order to determine how many decimal places are required and then use:

CString grtemp;
grtemp.Format(_T("%%.%df"), signif); // signif is number of decimal places
grtemp.Format(grtemp, m_nGrams);

Would using the m_nGrams variable twice to format these two different CStrings cause my problem?

Thanks,

Graham
GeneralRe: MFC Assertion Failures Pin
gm_coll20-Aug-02 4:56
gm_coll20-Aug-02 4:56 
GeneralRe: MFC Assertion Failures Pin
Mustafa Demirhan20-Aug-02 9:03
Mustafa Demirhan20-Aug-02 9:03 
GeneralStop calling that dialog! Pin
jimNLX19-Aug-02 5:31
jimNLX19-Aug-02 5:31 
GeneralRe: Stop calling that dialog! Pin
Tomasz Sowinski19-Aug-02 5:35
Tomasz Sowinski19-Aug-02 5:35 
GeneralRe: Stop calling that dialog! Pin
jimNLX19-Aug-02 11:51
jimNLX19-Aug-02 11:51 
GeneralRe: Stop calling that dialog! Pin
Tomasz Sowinski19-Aug-02 21:47
Tomasz Sowinski19-Aug-02 21:47 
Generaldesperate Pin
Brakanjan19-Aug-02 5:15
Brakanjan19-Aug-02 5:15 
GeneralRe: desperate Pin
valikac19-Aug-02 6:30
valikac19-Aug-02 6:30 
GeneralRe: desperate Pin
Tomasz Sowinski19-Aug-02 7:04
Tomasz Sowinski19-Aug-02 7:04 
GeneralRe: desperate Pin
Stephane Rodriguez.19-Aug-02 10:34
Stephane Rodriguez.19-Aug-02 10:34 
GeneralRe: desperate Pin
Brakanjan19-Aug-02 23:44
Brakanjan19-Aug-02 23:44 
GeneralWindow size is changed when setting large fonts Pin
Daed19-Aug-02 5:10
Daed19-Aug-02 5:10 
GeneralRe: Window size is changed when setting large fonts Pin
benjymous19-Aug-02 5:44
benjymous19-Aug-02 5:44 
GeneralRe: Window size is changed when setting large fonts Pin
Daed21-Aug-02 21:19
Daed21-Aug-02 21:19 
GeneralProgress bar in status window Pin
RalfPeter19-Aug-02 4:44
RalfPeter19-Aug-02 4:44 
GeneralRe: Progress bar in status window Pin
Tomasz Sowinski19-Aug-02 4:48
Tomasz Sowinski19-Aug-02 4:48 
GeneralRe: Progress bar in status window Pin
Ravi Bhavnani19-Aug-02 5:06
professionalRavi Bhavnani19-Aug-02 5:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.