home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1992
/
04
/
demo1.rc
< prev
next >
Wrap
Text File
|
1991-11-26
|
711b
|
25 lines
#include "windows.h"
#include "demo1.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, 141, 76
CAPTION "Text Entry Dialog"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
BEGIN
CTEXT "Enter some text please...", -1, 29, 15, 82, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
EDITTEXT IDD_EDITTEXT, 5, 31, 130, 12, ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP
DEFPUSHBUTTON "OK", IDOK, 31, 55, 31, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "Cancel", IDD_CANCEL, 78, 55, 31, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
END