Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Tree ctrl label edit Pin
LiYS8-Nov-05 2:28
LiYS8-Nov-05 2:28 
GeneralRe: Tree ctrl label edit Pin
Rage8-Nov-05 4:08
professionalRage8-Nov-05 4:08 
GeneralRe: Tree ctrl label edit Pin
LiYS8-Nov-05 14:35
LiYS8-Nov-05 14:35 
QuestionClassView Missing Please Help Pin
shivditya7-Nov-05 22:03
shivditya7-Nov-05 22:03 
AnswerRe: ClassView Missing Please Help Pin
kakan7-Nov-05 22:25
professionalkakan7-Nov-05 22:25 
QuestionRe: ClassView Missing Please Help Pin
shivditya7-Nov-05 23:45
shivditya7-Nov-05 23:45 
AnswerRe: ClassView Missing Please Help Pin
Vikash Dubey7-Nov-05 22:26
Vikash Dubey7-Nov-05 22:26 
GeneralRe: ClassView Missing Please Help Pin
shivditya7-Nov-05 23:41
shivditya7-Nov-05 23:41 
AnswerRe: ClassView Missing Please Help Pin
*Dreamz7-Nov-05 22:34
*Dreamz7-Nov-05 22:34 

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.