home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_01_04
/
1n04079b
< prev
next >
Wrap
Text File
|
1990-08-05
|
838b
|
29 lines
Figure 5. DLGSAMPLE.RC - Resource file
--------------------------------------
.
#include <windows.h>
#include "dlgsampl.h"
.
MAINMENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "SQL Primer" IDM_SQLPRIMER
MENUITEM "E&xit" IDM_EXIT
END
END
.
SQLPRIMER DIALOG LOADONCALL MOVEABLE DISCARDABLE 5, 15, 167, 66
CAPTION "SQL Primer"
STYLE WS_BORDER|WS_CAPTION|WS_DLGFRAME|DS_MODALFRAME|WS_POPUP
BEGIN
CONTROL "",ID_COMBO1,"combobox",CBS_DROPDOWNLIST|WS_VSCROLL
|WS_CHILD,4,5,157,40
CONTROL "",ID_LISTBOX,"listbox",LBS_NOTIFY|LBS_SORT|LBS_STANDARD|
WS_BORDER|WS_VSCROLL|WS_TABSTOP|WS_CHILD,4,22,97,41
CONTROL "&OK",ID_OK,"button",BS_DEFPUSHBUTTON|
WS_TABSTOP|WS_CHILD,109,50,50,14
END