Making new windows
-
Hi, Im building a single document application and i want to bring up a new dialog box that is a new window, ie. has its own little bar at the bottom of the screen. Can anybody help? Cheers Dor
I haven't notebook on head but: If you use VisualC++, you can develop this application imedialitly with i)File->New... ii) MFC Application at this point you follow step to step... this's your simgle document application... For viewing a dialog you must write: CDialog dialog; dialog.domodal(); Gianfranco Lanzetta.
-
Hi, Im building a single document application and i want to bring up a new dialog box that is a new window, ie. has its own little bar at the bottom of the screen. Can anybody help? Cheers Dor
You will want to use
CreateDialog
to create your dialog and make it appear modelessly, if you are using MFC, you can create an instance of your dialog object, then call the Create member, then the ShowWindow member. In order to make sure that it is in the task bar you will need to set the WS_EX_APPWINDOW style for your dialog.
Checkout my Guide to Win32 Paint for Intermediates