home *** CD-ROM | disk | FTP | other *** search
- /*******************************************/
- /* Dlgnonmd.rc defines two dialog boxes */
- /* and a menu for the main dialog box */
- /* note the visible qualifier on the */
- /* non-modal dialog box. It must be */
- /* in order to see the dialog when it is */
- /* created. */
- /*******************************************/
-
- #include "windows.h"
- #include "dlgnonmd.h"
-
- MAINDIALOGMENU MENU
- BEGIN
- MENUITEM "Non_Modal Dialog", IDM_NON_MODAL_DIALOG
- END
-
- Main_Window_Dialog DIALOG 4, 27, 190, 50
- CAPTION "Main Window Dialog"
- MENU MAINDIALOGMENU
- STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
- BEGIN
- PUSHBUTTON "Non-Modal Dialog", IDB_NON_MODAL_DIALOG, 12, 12, 78, 20, WS_CHILD | WS_VISIBLE | WS_TABSTOP
- DEFPUSHBUTTON "Close", IDCANCEL, 102, 12, 78, 20, WS_CHILD | WS_VISIBLE | WS_TABSTOP
- END
-
- Non_Modal_Dialog_Box DIALOG 18, 18, 113, 60
- CAPTION "Non-Modal Dialog Box"
- STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
- BEGIN
- DEFPUSHBUTTON "Close", IDCANCEL, 30, 12, 54, 30, WS_CHILD | WS_VISIBLE | WS_TABSTOP
- END
-
-