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

C / C++ / MFC

 
GeneralRe: Problem with read file Pin
Neville Franks17-May-03 12:16
Neville Franks17-May-03 12:16 
Generalvertical rebar Pin
edele17-May-03 3:21
edele17-May-03 3:21 
Generalthreading question Pin
Beer17-May-03 3:19
Beer17-May-03 3:19 
GeneralRe: threading question Pin
Gary R. Wheeler17-May-03 4:13
Gary R. Wheeler17-May-03 4:13 
GeneralRe: threading question Pin
Beer17-May-03 4:16
Beer17-May-03 4:16 
GeneralRe: threading question Pin
Renjith Ramachandran17-May-03 4:34
Renjith Ramachandran17-May-03 4:34 
GeneralRe: threading question Pin
Neville Franks17-May-03 12:21
Neville Franks17-May-03 12:21 
GeneralMFC dialog problem Pin
Beer17-May-03 3:18
Beer17-May-03 3:18 
Hi,

I created a dialog with the mfc app creator, then created a non modal dialog from within that dialog class with the extended style WS_EX_APPWINDOW applied on the initdialog like hmmm...

ModifyStyleEx(0, WS_EX_APPWINDOW);

This gives me a taskbar space for the new non-modal window.

BUT, when I minimize the main modal app dialog, it also minimizes the non-modal window. I tried catching the window messages to the non-modal with pretranslate message, but there is no message when it's minimized, or when it's restored. No WM_SIZE or nothing.

It's almost like MFC magic. I'm guessing this is some kind of wierd undocumented message mapping we can't see in the source SRC files???

So, how do i stop MFC from taking control of non-modal dialogs with the main dialog window in a dialog based app?

PS- I also tried setting the parent to null, but it did nothing.

hey
GeneralRe: MFC dialog problem Pin
Beer17-May-03 4:19
Beer17-May-03 4:19 
GeneralRe: MFC dialog problem Pin
Beer17-May-03 7:48
Beer17-May-03 7:48 
GeneralRe: MFC dialog problem Pin
Ralph Varjabedian17-May-03 8:46
Ralph Varjabedian17-May-03 8:46 
GeneralRe: MFC dialog problem Pin
Beer17-May-03 12:03
Beer17-May-03 12:03 
GeneralWin32 dialogbox question. Pin
Anonymous17-May-03 1:55
Anonymous17-May-03 1:55 
Generalslider erorr Pin
aguest17-May-03 0:39
aguest17-May-03 0:39 
GeneralRe: slider erorr Pin
dabs17-May-03 3:10
dabs17-May-03 3:10 
GeneralRe: slider erorr Pin
Renjith Ramachandran17-May-03 7:16
Renjith Ramachandran17-May-03 7:16 
GeneralStrings, codepages and HTMLEncode Pin
dabs17-May-03 0:21
dabs17-May-03 0:21 
GeneralVisual C++ 6.0 Standard vs. Visual C++ 6.0 Professional Pin
Anonymous16-May-03 23:44
Anonymous16-May-03 23:44 
GeneralQuestion about memory allocation of data members of a class. Pin
George216-May-03 23:36
George216-May-03 23:36 
GeneralRe: Question about memory allocation of data members of a class. Pin
Vikram A Punathambekar17-May-03 1:27
Vikram A Punathambekar17-May-03 1:27 
GeneralRe: Question about memory allocation of data members of a class. Pin
George217-May-03 3:05
George217-May-03 3:05 
GeneralRe: Question about memory allocation of data members of a class. Pin
Vikram A Punathambekar17-May-03 3:21
Vikram A Punathambekar17-May-03 3:21 
GeneralRe: Question about memory allocation of data members of a class. Pin
George217-May-03 3:28
George217-May-03 3:28 
GeneralRe: Question about memory allocation of data members of a class. Pin
User 988517-May-03 11:40
User 988517-May-03 11:40 
GeneralRe: Question about memory allocation of data members of a class. Pin
George217-May-03 18:30
George217-May-03 18:30 

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.