home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
msysjour
/
ms
/
s12133
/
app.rc
< prev
next >
Wrap
Text File
|
1988-11-16
|
2KB
|
62 lines
#include <os2.h>
#include "APP.h"
POINTER ID_APP APP.ico
STRINGTABLE
BEGIN
IDSNAME, "APP"
IDSKIDNAME, "KID"
END
DLGTEMPLATE IDD_ABOUT LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "", 0, 24, 24, 172, 96, FS_DLGBORDER | WS_GROUP |
WS_VISIBLE
BEGIN
CONTROL "OK", DID_OK, 76, 5, 24, 15, WC_BUTTON, BS_PUSHBUTTON |
BS_DEFAULT | WS_TABSTOP | WS_VISIBLE
CONTROL "Copyright 1988, A&E Enterprises", -1, 6, 22, 159, 10,
WC_STATIC, SS_TEXT | DT_CENTER | DT_TOP | WS_VISIBLE
CONTROL "PM Version 1.00 (Alpha)", -1, 7, 58, 160, 10, WC_STATIC,
SS_TEXT | DT_CENTER | DT_TOP | WS_VISIBLE
CONTROL "Written by Eric Fogelin", -1, 7, 81, 161, 9, WC_STATIC,
SS_TEXT | DT_CENTER | DT_TOP | WS_VISIBLE
CONTROL "APP Skeleton", -1, 6, 71, 160, 8, WC_STATIC, SS_TEXT |
DT_CENTER | DT_TOP | WS_VISIBLE
CONTROL ID_APP, ID_APP, 7, 44, 16, 28, WC_STATIC, SS_ICON | DT_LEFT |
DT_TOP | WS_VISIBLE
END
END
DLGTEMPLATE IDD_INPUT LOADONCALL MOVEABLE DISCARDABLE
BEGIN
DIALOG "Dialog Box", -1, 24, 24, 185, 76, FS_DLGBORDER |
WS_VISIBLE, FCF_TITLEBAR
BEGIN
CONTROL "Edit control", IDEDIT, 6, 36, 173, 14, WC_ENTRYFIELD,
ES_LEFT | ES_MARGIN | WS_GROUP | WS_TABSTOP | WS_VISIBLE
CONTROL "OK", DID_OK, 56, 11, 24, 16, WC_BUTTON, BS_PUSHBUTTON | BS_DEFAULT |
WS_GROUP | WS_TABSTOP | WS_VISIBLE
CONTROL "Cancel", DID_CANCEL, 101, 11, 30, 16, WC_BUTTON, BS_PUSHBUTTON |
WS_GROUP | WS_TABSTOP | WS_VISIBLE
END
END
MENU ID_APP PRELOAD
begin
SUBMENU "~Options", -1
begin
MENUITEM "Add ~Strings...\t^S", IDITEM, MIS_TEXT
MENUITEM "~Enter...\t^E", IDENTER, MIS_TEXT
MENUITEM SEPARATOR
MENUITEM "~About..." , IDABOUT, MIS_TEXT
end
end
ACCELTABLE ID_APP
BEGIN
"^s", IDITEM
"^e", IDENTER
END