home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Borland Programmer's Resource
/
Borland_Programmers_Resource_CD_1995.iso
/
utils
/
6plus
/
abasica.rc
< prev
next >
Wrap
Text File
|
1995-05-18
|
2KB
|
33 lines
#include "windows.h" // These have to be included like in the C file
#include "abasica.h" // As they set constant values you will use
MYICON ICON DISCARDABLE "abasica.ico" // Name your icon
ABASICAMENU MENU DISCARDABLE
BEGIN // Name and layout your menu
POPUP "&File"
BEGIN
MENUITEM "&About\t CTRL+A", IDM_ABOUT // Notice we include CTRL A
MENUITEM "&Exit", IDM_EXIT
END
END
ABASICAACC ACCELERATORS MOVEABLE PURE // Name and layout your key translators
BEGIN
"A", IDM_EXIT, VIRTKEY, CONTROL // Now CTRL A will show the about box
END
ABOUTBOX DIALOG DISCARDABLE 12, 6, 124, 59 // Name and setup your dialog boxes
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU // Styles
CAPTION "AbasicA" // Window title
FONT 12, "Times New Roman" // Font and size to use
BEGIN
CTEXT "This Is AbasicA",101,1,8,123,10 // Centered text at x, y, width, height
CTEXT "by Solutions Software",102,0,44,124,8 // Same again
PUSHBUTTON "Big Deal",IDOK,69,23,36,16 // Button with "text" at ...
ICON "MYICON",-1,29,24,9,9 // Icon at ...
CONTROL "",301,"Static",SS_BLACKFRAME,6,6,112,49 // Static box at ...
CONTROL "",302,"Static",SS_BLACKFRAME,63,19,48,23 // Same here
CONTROL "",303,"Static",SS_BLACKFRAME,13,19,48,23 // Same here
END