Menu

Adding dialog controls at non dialog windows

2002-12-02
2012-09-26
  • Nobody/Anonymous

    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 

     
    • Nobody/Anonymous

      You can always create your window using the modula-2 api if you feel like it.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.