Click here to Skip to main content
15,912,578 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: virtual detstruct question when multi derived Pin
Blake Miller9-Nov-05 5:43
Blake Miller9-Nov-05 5:43 
QuestionCRC-16 Convert to vb.Net Pin
RichardBerry8-Nov-05 3:55
RichardBerry8-Nov-05 3:55 
Questionclicking the titlebar Pin
bonosa8-Nov-05 3:54
bonosa8-Nov-05 3:54 
AnswerRe: clicking the titlebar Pin
Rage8-Nov-05 4:03
professionalRage8-Nov-05 4:03 
QuestionSetWindowText Problem in Release Version Pin
LittleYellowBird8-Nov-05 3:38
LittleYellowBird8-Nov-05 3:38 
AnswerRe: SetWindowText Problem in Release Version Pin
toxcct8-Nov-05 3:57
toxcct8-Nov-05 3:57 
GeneralRe: SetWindowText Problem in Release Version Pin
LittleYellowBird8-Nov-05 4:29
LittleYellowBird8-Nov-05 4:29 
AnswerRe: SetWindowText Problem in Release Version Pin
Rage8-Nov-05 3:57
professionalRage8-Nov-05 3:57 
QuestionRe: SetWindowText Problem in Release Version Pin
David Crow8-Nov-05 4:49
David Crow8-Nov-05 4:49 
GeneralRe: SetWindowText Problem in Release Version Pin
LittleYellowBird8-Nov-05 4:46
LittleYellowBird8-Nov-05 4:46 
AnswerRe: SetWindowText Problem in Release Version Pin
LittleYellowBird8-Nov-05 5:18
LittleYellowBird8-Nov-05 5:18 
GeneralRe: SetWindowText Problem in Release Version Pin
Rage8-Nov-05 5:54
professionalRage8-Nov-05 5:54 
GeneralRe: SetWindowText Problem in Release Version Pin
David Crow8-Nov-05 6:08
David Crow8-Nov-05 6:08 
GeneralRe: SetWindowText Problem in Release Version Pin
LittleYellowBird8-Nov-05 21:44
LittleYellowBird8-Nov-05 21:44 
GeneralRe: SetWindowText Problem in Release Version Pin
LittleYellowBird8-Nov-05 22:13
LittleYellowBird8-Nov-05 22:13 
GeneralRe: SetWindowText Problem in Release Version Pin
Rage15-Nov-05 21:18
professionalRage15-Nov-05 21:18 
GeneralRe: SetWindowText Problem in Release Version Pin
LittleYellowBird30-Nov-05 5:14
LittleYellowBird30-Nov-05 5:14 
Hi ~RaGE();

Sorry its taken me so long to reply, I haven't been around for a while.

Yes I have sorted it out and it turned out to be my own silly error Blush | :O

It turned out not to be in SetWindowText but in a function called "OnEditPointSize". It was called when I set the text size.

Instead of declaring it like this:-

void CPPlusView::OnEditPointSize(void)

I had declared it like this WTF | :WTF: :-

void CPlusView::OnEditColourBands(NMHDR* pNMHDR, LRESULT* pResult)

Its my own fault, I've used cut & paste when I first created the function and forgotten to change the parameters. It actually crashed when it left the function, I guess it messed up the stack.

I found it by starting the simplest program I could, then I recreated the problem by adding code in from my application. Then I had so little code to look through I soon found it.

Thanks for the help, you gave me some new ideas to try which was definetly a big help. Sometimes I get stuck with a bug and I just can't think how to find it!

Thanks Again Big Grin | :-D


Ali
Questioncannot open file(image) that saved Pin
sue8-Nov-05 3:01
sue8-Nov-05 3:01 
QuestionSplitted MDI Client (MFC) Pin
Andre xxxxxxx8-Nov-05 2:12
Andre xxxxxxx8-Nov-05 2:12 
QuestionRepainting mechanism in VC++ ...OnPaint() Pin
maharaja pandian8-Nov-05 1:49
maharaja pandian8-Nov-05 1:49 
AnswerRe: Repainting mechanism in VC++ ...OnPaint() Pin
Calc208-Nov-05 2:17
Calc208-Nov-05 2:17 
AnswerRe: Repainting mechanism in VC++ ...OnPaint() Pin
Nibu babu thomas8-Nov-05 17:09
Nibu babu thomas8-Nov-05 17:09 
QuestionRepainting mechanism in VC++ ...OnPaint() Pin
maharaja pandian8-Nov-05 1:47
maharaja pandian8-Nov-05 1:47 
QuestionTree ctrl label edit Pin
LiYS7-Nov-05 22:31
LiYS7-Nov-05 22:31 
AnswerRe: Tree ctrl label edit Pin
*Dreamz7-Nov-05 23:36
*Dreamz7-Nov-05 23:36 

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.