Click here to Skip to main content
15,799,018 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Vagarities of Multiple threads in Windows Pin
leon de boer19-Mar-16 22:35
leon de boer19-Mar-16 22:35 
GeneralRe: Vagarities of Multiple threads in Windows Pin
Bram van Kampen22-Mar-16 14:33
Bram van Kampen22-Mar-16 14:33 
GeneralRe: Vagarities of Multiple threads in Windows Pin
leon de boer26-Mar-16 0:57
leon de boer26-Mar-16 0:57 
QuestionOpenGL control on split MFC form Pin
Member 1228273814-Mar-16 11:08
Member 1228273814-Mar-16 11:08 
AnswerRe: OpenGL control on split MFC form Pin
Richard MacCutchan15-Mar-16 0:48
mveRichard MacCutchan15-Mar-16 0:48 
QuestionDefault argument for DISP_FUNCTION_ID Pin
Member 1214953910-Mar-16 17:44
Member 1214953910-Mar-16 17:44 
AnswerRe: Default argument for DISP_FUNCTION_ID Pin
Bram van Kampen16-Mar-16 16:45
Bram van Kampen16-Mar-16 16:45 
QuestionBoth EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
ForNow10-Mar-16 11:19
ForNow10-Mar-16 11:19 
Hi,

I have a console application that spawns a childprocess

I am initially able to get the MainFrame Window in the console app thru EnumThreadWindows

Later I create a modeless Dialog in the childprocess for which I would like the to get the HWND handle

I am running this code (both apps) under the Visual Studio debugger

So I can see when the child process creates the modeless dialogbox

I then step thru (under VS debugger) both GetWindow(MainFrame,GW_CHILD) and EnumChildWindows

and neither API return anything
AnswerRe: Both EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
Bram van Kampen10-Mar-16 15:39
Bram van Kampen10-Mar-16 15:39 
GeneralRe: Both EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
ForNow10-Mar-16 16:20
ForNow10-Mar-16 16:20 
GeneralRe: Both EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
Richard MacCutchan11-Mar-16 4:52
mveRichard MacCutchan11-Mar-16 4:52 
AnswerRe: Both EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
Richard MacCutchan10-Mar-16 22:21
mveRichard MacCutchan10-Mar-16 22:21 
AnswerRe: Both EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
leon de boer19-Mar-16 22:50
leon de boer19-Mar-16 22:50 
GeneralRe: Both EnumchildWindows and GetWindow return NULL for a ChildWindow modeless dialogbox Pin
ForNow20-Mar-16 13:45
ForNow20-Mar-16 13:45 
QuestionHow Much of WM_USER+X is used by MFC Pin
Bram van Kampen9-Mar-16 15:14
Bram van Kampen9-Mar-16 15:14 
AnswerRe: How Much of WM_USER+X is used by MFC Pin
Jochen Arndt9-Mar-16 22:38
professionalJochen Arndt9-Mar-16 22:38 
AnswerRe: How Much of WM_USER+X is used by MFC Pin
Richard MacCutchan9-Mar-16 23:17
mveRichard MacCutchan9-Mar-16 23:17 
GeneralRe: How Much of WM_USER+X is used by MFC Pin
Bram van Kampen10-Mar-16 15:03
Bram van Kampen10-Mar-16 15:03 
GeneralRe: How Much of WM_USER+X is used by MFC Pin
Richard MacCutchan10-Mar-16 22:15
mveRichard MacCutchan10-Mar-16 22:15 
GeneralRe: How Much of WM_USER+X is used by MFC Pin
Jochen Arndt10-Mar-16 22:38
professionalJochen Arndt10-Mar-16 22:38 
GeneralRe: How Much of WM_USER+X is used by MFC Pin
Richard MacCutchan10-Mar-16 22:50
mveRichard MacCutchan10-Mar-16 22:50 
GeneralRe: How Much of WM_USER+X is used by MFC Pin
Bram van Kampen10-Mar-16 15:08
Bram van Kampen10-Mar-16 15:08 
GeneralRe: How Much of WM_USER+X is used by MFC Pin
Victor Nijegorodov11-Mar-16 4:17
Victor Nijegorodov11-Mar-16 4:17 
QuestionEnsuring code runs synchronously Pin
ForNow9-Mar-16 5:01
ForNow9-Mar-16 5:01 
AnswerRe: Ensuring code runs synchronously Pin
Richard MacCutchan9-Mar-16 7:21
mveRichard MacCutchan9-Mar-16 7:21 

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.