Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Icon problem for dialog of MFC DLL. Pin
Mushtaque Nizamani4-Sep-07 5:23
Mushtaque Nizamani4-Sep-07 5:23 
QuestionHow can I specify absolute time with SetWaitableTimer() [modified] Pin
peteryenyen4-Sep-07 4:00
peteryenyen4-Sep-07 4:00 
AnswerRe: How can I specify absolute time with SetWaitableTimer() Pin
led mike4-Sep-07 4:51
led mike4-Sep-07 4:51 
GeneralRe: How can I specify absolute time with SetWaitableTimer() Pin
peteryenyen4-Sep-07 13:51
peteryenyen4-Sep-07 13:51 
GeneralRe: How can I specify absolute time with SetWaitableTimer() Pin
led mike5-Sep-07 5:29
led mike5-Sep-07 5:29 
QuestionWhen is CWnd valid? Pin
charlieg4-Sep-07 3:43
charlieg4-Sep-07 3:43 
AnswerRe: When is CWnd valid? Pin
led mike4-Sep-07 4:38
led mike4-Sep-07 4:38 
GeneralRe: When is CWnd valid? Pin
charlieg4-Sep-07 6:05
charlieg4-Sep-07 6:05 
sigh Smile | :) Mike, let me be more specific. Given I need to create a window that is parented by another window. I actually need to do this with an activeX control, but I think the point is valid. And, thankfully, we're single threaded for this question.

I create my object that contains my first window. The constructor fires, and messages begin to be delivered. Eventually, a WM_PAINT arrives and some basic drawing code fills in the visual portion of the window. Things quiet down after the initial burst of events. Somewhere in that initial burst of events, the window for the object is actually valid, and IsWindow goes true.

Is it after WM_CREATE? WM_PAINT? Something in win32 or mfc sets that field....

Charlie Gilley
Will program for food...
Whoever said children were cheaper by the dozen... lied.

Overheard in a cubicle: "A project is just a bug under development."

Seeking to rise above the intelligence of a one eared rabbit...

Caught in a vortex of weirdness...

GeneralRe: When is CWnd valid? Pin
led mike4-Sep-07 11:54
led mike4-Sep-07 11:54 
QuestionWindows message order? Pin
charlieg4-Sep-07 3:26
charlieg4-Sep-07 3:26 
AnswerRe: Windows message order? Pin
Hamed Musavi4-Sep-07 5:50
Hamed Musavi4-Sep-07 5:50 
GeneralRe: Windows message order? Pin
charlieg4-Sep-07 5:56
charlieg4-Sep-07 5:56 
GeneralRe: Windows message order? Pin
Hamed Musavi4-Sep-07 6:32
Hamed Musavi4-Sep-07 6:32 
AnswerRe: Windows message order? Pin
Mark Salsbery4-Sep-07 6:15
Mark Salsbery4-Sep-07 6:15 
GeneralRe: Windows message order? Pin
charlieg4-Sep-07 6:33
charlieg4-Sep-07 6:33 
GeneralRe: Windows message order? Pin
Mark Salsbery4-Sep-07 6:49
Mark Salsbery4-Sep-07 6:49 
QuestionAbout IHTML Interface ... need your help Pin
Ryu Jin4-Sep-07 3:21
Ryu Jin4-Sep-07 3:21 
QuestionHelp - clistctrl drag image only showing icon, no text Pin
Derrick Becker4-Sep-07 3:14
Derrick Becker4-Sep-07 3:14 
QuestionRe: Help - clistctrl drag image only showing icon, no text Pin
Derrick Becker4-Sep-07 5:17
Derrick Becker4-Sep-07 5:17 
QuestionPlease Help :( [modified] Pin
Programm3r4-Sep-07 2:11
Programm3r4-Sep-07 2:11 
QuestionVC++ AND MS ACCESS connection Pin
himuskanhere4-Sep-07 2:08
himuskanhere4-Sep-07 2:08 
AnswerRe: VC++ AND MS ACCESS connection Pin
chandu0044-Sep-07 2:30
chandu0044-Sep-07 2:30 
AnswerRe: VC++ AND MS ACCESS connection Pin
Hamid_RT4-Sep-07 3:38
Hamid_RT4-Sep-07 3:38 
QuestionHow to terminate a thread? Pin
kcynic4-Sep-07 0:52
kcynic4-Sep-07 0:52 
AnswerRe: How to terminate a thread? Pin
Roger Stoltz4-Sep-07 1:02
Roger Stoltz4-Sep-07 1:02 

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.