Click here to Skip to main content
15,885,435 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Second Window in Win32 Pin
enhzflep5-Apr-10 1:59
enhzflep5-Apr-10 1:59 
GeneralRe: Second Window in Win32 Pin
Fareed Rizkalla5-Apr-10 3:51
Fareed Rizkalla5-Apr-10 3:51 
GeneralRe: Second Window in Win32 Pin
enhzflep5-Apr-10 8:36
enhzflep5-Apr-10 8:36 
QuestionRe: Second Window in Win32 Pin
Fareed Rizkalla5-Apr-10 15:41
Fareed Rizkalla5-Apr-10 15:41 
AnswerRe: Second Window in Win32 Pin
enhzflep6-Apr-10 2:12
enhzflep6-Apr-10 2:12 
GeneralRe: Second Window in Win32 Pin
Fareed Rizkalla6-Apr-10 5:13
Fareed Rizkalla6-Apr-10 5:13 
GeneralRe: Second Window in Win32 Pin
enhzflep6-Apr-10 17:42
enhzflep6-Apr-10 17:42 
GeneralRe: Second Window in Win32 Pin
Fareed Rizkalla5-Apr-10 16:28
Fareed Rizkalla5-Apr-10 16:28 
I've run this code in Visual Studio 2010.
I now have a deeper aspect of WS_VISIBLE, instead of having ShowWindow.
And I can understand the buttons and each message passing a message to the other.
It's a new example of Win32 communication taking place.

I'm really thankful for your help.
My program creates a main window and some time along the way I create a second window.
Hopefully that will be through the Win7 JumpList or a Shortcut Key, currently I place the code for triggering this in the message queue to trigger it. The problem was how to start another window, while the parent is running.

Please advise on how to create a new window, while the main window is running.
Although the Win32 documentation is a clear desert, MFC is just an encapsulation of that desert.
I can't figure it out yet, although I have worked with other GUI code.
Native is the way to go, but hard to walk the path if your mapless. Suspicious | :suss:
AnswerRe: Second Window in Win32 Pin
Garth J Lancaster4-Apr-10 15:11
professionalGarth J Lancaster4-Apr-10 15:11 
Questionsocket programming in c help Pin
kedah4-Apr-10 8:48
kedah4-Apr-10 8:48 
AnswerRe: socket programming in c help Pin
Richard Andrew x644-Apr-10 11:49
professionalRichard Andrew x644-Apr-10 11:49 
AnswerRe: socket programming in c help Pin
Garth J Lancaster4-Apr-10 12:29
professionalGarth J Lancaster4-Apr-10 12:29 
QuestionIs the handle from OpenProcess Unique Pin
ForNow4-Apr-10 7:37
ForNow4-Apr-10 7:37 
QuestionRecieving device events in a service Pin
Ap0ll0-134-Apr-10 3:42
Ap0ll0-134-Apr-10 3:42 
QuestionHow to get the net speed of your computer and how to get the current webpage's speed? Pin
Aric Wang4-Apr-10 0:42
Aric Wang4-Apr-10 0:42 
QuestionRe: How to get the net speed of your computer and how to get the current webpage's speed? Pin
enhzflep4-Apr-10 3:31
enhzflep4-Apr-10 3:31 
QuestionApplication crash - on use of IXMLHTTPRequest send method Pin
dinesh babu3-Apr-10 20:47
dinesh babu3-Apr-10 20:47 
QuestionIs my merge list right? Pin
wbgxx3-Apr-10 18:36
wbgxx3-Apr-10 18:36 
AnswerRe: Is my merge list right? Pin
Luc Pattyn3-Apr-10 21:06
sitebuilderLuc Pattyn3-Apr-10 21:06 
QuestionCWinApp <-> DLL communication Pin
hxhl953-Apr-10 12:09
hxhl953-Apr-10 12:09 
QuestionRe: CWinApp DLL communication Pin
Tim Craig3-Apr-10 13:55
Tim Craig3-Apr-10 13:55 
AnswerRe: CWinApp DLL communication Pin
hxhl953-Apr-10 15:56
hxhl953-Apr-10 15:56 
GeneralRe: CWinApp DLL communication Pin
Tim Craig3-Apr-10 16:07
Tim Craig3-Apr-10 16:07 
GeneralRe: CWinApp DLL communication Pin
hxhl953-Apr-10 16:10
hxhl953-Apr-10 16:10 
QuestionIE8 and ShellExecute weirdness Pin
Monty23-Apr-10 9:41
Monty23-Apr-10 9:41 

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.