home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1992
/
05
/
demo4.rc
< prev
next >
Wrap
Text File
|
1991-12-18
|
933b
|
28 lines
#include "windows.h"
#include "demo4.h"
DemoMenu MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Enter text...", IDM_ENTER
END
END
TextEntryBox DIALOG 30, 24, 161, 125
CAPTION "Text Entry Dialog"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
BEGIN
CTEXT "Enter city name please...", -1, 5, 15, 150, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CONTROL " ", IDD_EDITCITY, "bedit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 5, 29, 150, 16
CTEXT "Enter state name please...", -1, 5, 55, 150, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
CONTROL " ", IDD_EDITSTATE, "bedit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 5, 69, 150, 16
DEFPUSHBUTTON "OK", IDOK, 41, 100, 31, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "Cancel", IDD_CANCEL, 98, 100, 31, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END