-
Resource Editor
Ok I'm a total newb, heres my question. I whant to make it so when I make a dialog using the Resource editor i whant it to show up when i exute the programn instead of making my open dialog window you know what I mean? heres and example
Open up MSVC++ 6.0 File >> new >> projects >> win32 app
File Again >> New >> resource editor and I make my dialog window using RC now what do I script in the .cpp file to make it show up on the screen when i execute it!?
-
Do you want a main window?
-
I just whant the window that I made with the resource editor
-
instead of:
HWND hwnd = CreateWindowEx( .. );
do this:
HWND hwnd = DialogBox( .. );
-
make sure to include the resource.h and script.rc in the project if you have made the dialog in the resource editor.