Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: An Strange Problem in constructor [modified] Pin
George L. Jackson19-Jun-07 16:52
George L. Jackson19-Jun-07 16:52 
AnswerRe: An Strange Problem in constructor Pin
_anil_19-Jun-07 19:30
_anil_19-Jun-07 19:30 
GeneralRe: An Strange Problem in constructor Pin
Jonathan [Darka]19-Jun-07 21:46
professionalJonathan [Darka]19-Jun-07 21:46 
Questionthe anti-static dilemma Pin
Cyrilix19-Jun-07 15:13
Cyrilix19-Jun-07 15:13 
AnswerRe: the anti-static dilemma Pin
Mark Salsbery19-Jun-07 15:23
Mark Salsbery19-Jun-07 15:23 
AnswerRe: the anti-static dilemma Pin
Cedric Moonen19-Jun-07 21:00
Cedric Moonen19-Jun-07 21:00 
GeneralRe: the anti-static dilemma Pin
Cyrilix20-Jun-07 3:13
Cyrilix20-Jun-07 3:13 
GeneralRe: the anti-static dilemma Pin
Matthew Faithfull20-Jun-07 3:29
Matthew Faithfull20-Jun-07 3:29 
The advice is good but you may run into a catch 22 when you call CreateWindow. Calls will be made to your WndProc before CreateWindows returns the HWnd to you for you to associate a pointer with. If you ignore those calls to WndProc because the HWnd passed doesn't have an associated pointer then window creation may actually fail and you'll never se your new window. A special case would seem to be required where if your WndProc recieves a call for an HWnd it knows nothing about. One option is to actaully create the Object at this point and do the association before processing the first message. I bet the first message you recieve won't be what you'd expect either Wink | ;)

Nothing is exactly what it seems but everything with seems can be unpicked.

Questionwhy the data would change with no trace? Pin
kcynic19-Jun-07 12:57
kcynic19-Jun-07 12:57 
QuestionRe: why the data would change with no trace? Pin
Mark Salsbery19-Jun-07 14:26
Mark Salsbery19-Jun-07 14:26 
AnswerRe: why the data would change with no trace? Pin
kcynic20-Jun-07 0:24
kcynic20-Jun-07 0:24 
AnswerRe: why the data would change with no trace? Pin
Roger Stoltz20-Jun-07 0:49
Roger Stoltz20-Jun-07 0:49 
GeneralRe: why the data would change with no trace? Pin
kcynic20-Jun-07 3:02
kcynic20-Jun-07 3:02 
GeneralRe: why the data would change with no trace? Pin
Roger Stoltz20-Jun-07 4:01
Roger Stoltz20-Jun-07 4:01 
GeneralRe: why the data would change with no trace? Pin
kcynic21-Jun-07 0:59
kcynic21-Jun-07 0:59 
QuestionDetecting Remote Desktop Events Pin
Akin Ocal19-Jun-07 12:02
Akin Ocal19-Jun-07 12:02 
AnswerRe: Detecting Remote Desktop Events Pin
Randor 19-Jun-07 13:06
professional Randor 19-Jun-07 13:06 
QuestionScott Meyer and C++ Pin
C_Zealot19-Jun-07 12:01
C_Zealot19-Jun-07 12:01 
AnswerRe: Scott Meyer and C++ Pin
George L. Jackson19-Jun-07 12:19
George L. Jackson19-Jun-07 12:19 
Questionswitching between two windows using glut Pin
moonraker92819-Jun-07 9:48
moonraker92819-Jun-07 9:48 
QuestionRe: switching between two windows using glut Pin
Hamid_RT20-Jun-07 8:47
Hamid_RT20-Jun-07 8:47 
AnswerRe: switching between two windows using glut Pin
moonraker92820-Jun-07 9:50
moonraker92820-Jun-07 9:50 
Questionxloper struct Pin
A7Zulu19-Jun-07 9:37
A7Zulu19-Jun-07 9:37 
AnswerRe: xloper struct Pin
David Crow19-Jun-07 10:21
David Crow19-Jun-07 10:21 
GeneralRe: xloper struct Pin
A7Zulu19-Jun-07 10:47
A7Zulu19-Jun-07 10:47 

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.