Is it possible to create my programs main window using CreateWindow but add all the controls to it using a resource file? In that case how would i edit my .rc file?
For example:
-What would i put here? The window is already created!
BEGIN
LTEXT "About Programming", ID_LABELTEXT01, 3, 3, 150, 10
EDITTEXT "Programmin can be very exciting" ID_TEXT01, 2, 14, 196, 115, ES_MULTILINE
DEFPUSHBUTTON "Ok", ID_OK, 2, 134, 40, 14
PUSHBUTTON "Cancel", ID_CANCEL, 158, 134, 40, 14
...
...
...
END
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to create my programs main window using CreateWindow but add all the controls to it using a resource file? In that case how would i edit my .rc file?
For example:
-What would i put here? The window is already created!
BEGIN
LTEXT "About Programming", ID_LABELTEXT01, 3, 3, 150, 10
EDITTEXT "Programmin can be very exciting" ID_TEXT01, 2, 14, 196, 115, ES_MULTILINE
DEFPUSHBUTTON "Ok", ID_OK, 2, 134, 40, 14
PUSHBUTTON "Cancel", ID_CANCEL, 158, 134, 40, 14
...
...
...
END
You can always create your window using the modula-2 api if you feel like it.