home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Tool Box
/
SIMS_2.iso
/
vb_code1
/
ole_vbx1
/
testvbx.rc
< prev
next >
Wrap
Text File
|
1994-02-27
|
12KB
|
348 lines
//Microsoft App Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
#ifdef APSTUDIO_INVOKED
//////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""res\\testvbx.rc2"" // non-App Studio edited resources\r\n"
"\r\n"
"#include ""afxres.rc"" \011// Standard components\r\n"
"\0"
END
/////////////////////////////////////////////////////////////////////////////////////
#endif // APSTUDIO_INVOKED
//////////////////////////////////////////////////////////////////////////////
//
// Icon
//
IDR_MAINFRAME ICON DISCARDABLE "RES\\TESTVBX.ICO"
IDR_TESTVBTYPE ICON DISCARDABLE "RES\\TESTVDOC.ICO"
//////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDR_MAINFRAME BITMAP MOVEABLE PURE "RES\\TOOLBAR.BMP"
//////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MAINFRAME MENU PRELOAD DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New\tCtrl+N", ID_FILE_NEW
MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN
MENUITEM SEPARATOR
MENUITEM "Recent File", ID_FILE_MRU_FILE1, GRAYED
MENUITEM SEPARATOR
MENUITEM "E&xit", ID_APP_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
END
POPUP "&Help"
BEGIN
MENUITEM "&About Testvbx...", ID_APP_ABOUT
END
END
IDR_TESTVBTYPE MENU PRELOAD DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New\tCtrl+N", ID_FILE_NEW
MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN
MENUITEM "&Close", ID_FILE_CLOSE
MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE
MENUITEM "Save &As...", ID_FILE_SAVE_AS
MENUITEM SEPARATOR
MENUITEM "Recent File", ID_FILE_MRU_FILE1, GRAYED
MENUITEM SEPARATOR
MENUITEM "E&xit", ID_APP_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
MENUITEM SEPARATOR
MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
END
POPUP "&View"
BEGIN
MENUITEM "&Toolbar", ID_VIEW_TOOLBAR
MENUITEM "&Status Bar", ID_VIEW_STATUS_BAR
END
POPUP "&Window"
BEGIN
MENUITEM "&New Window", ID_WINDOW_NEW
MENUITEM "&Cascade", ID_WINDOW_CASCADE
MENUITEM "&Tile", ID_WINDOW_TILE_HORZ
MENUITEM "&Arrange Icons", ID_WINDOW_ARRANGE
END
POPUP "&Help"
BEGIN
MENUITEM "&About Testvbx...", ID_APP_ABOUT
END
END
//////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
BEGIN
"N", ID_FILE_NEW, VIRTKEY,CONTROL
"O", ID_FILE_OPEN, VIRTKEY,CONTROL
"S", ID_FILE_SAVE, VIRTKEY,CONTROL
"Z", ID_EDIT_UNDO, VIRTKEY,CONTROL
"X", ID_EDIT_CUT, VIRTKEY,CONTROL
"C", ID_EDIT_COPY, VIRTKEY,CONTROL
"V", ID_EDIT_PASTE, VIRTKEY,CONTROL
VK_BACK, ID_EDIT_UNDO, VIRTKEY,ALT
VK_DELETE, ID_EDIT_CUT, VIRTKEY,SHIFT
VK_INSERT, ID_EDIT_COPY, VIRTKEY,CONTROL
VK_INSERT, ID_EDIT_PASTE, VIRTKEY,SHIFT
VK_F6, ID_NEXT_PANE, VIRTKEY
VK_F6, ID_PREV_PANE, VIRTKEY,SHIFT
END
//////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOG DISCARDABLE 34, 22, 293, 169
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About Testvbx"
FONT 8, "MS Sans Serif"
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,11,17,18,20
CTEXT "Testvbx Application Version 1.0",IDC_STATIC,40,10,119,8
CTEXT "Copyright \251 1994 Todd J. Abel.\nAll Rights Reserved.",
IDC_STATIC,40,25,119,20
DEFPUSHBUTTON "OK",IDOK,176,6,32,14,WS_GROUP
CONTROL "OL_VBX.VBX;OL_VBX;OL_VBX1",IDC_OL_VBX1,"VBControl",
WS_CLIPSIBLINGS | WS_BORDER | WS_TABSTOP,15,55,206,106
END
IDD_TESTVBX_FORM DIALOG DISCARDABLE 0, 0, 366, 192
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
BEGIN
EDITTEXT IDC_CURRENTNODE,267,2,26,14,ES_AUTOHSCROLL
EDITTEXT IDC_INDENTLEVEL,267,20,26,14,ES_AUTOHSCROLL
EDITTEXT IDC_NUMNODES,267,39,26,14,ES_AUTOHSCROLL | WS_DISABLED
EDITTEXT IDC_MAXINDENT,267,58,26,14,ES_AUTOHSCROLL
CONTROL "Allow Append",IDC_ALLOWAPPEND,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,298,1,67,11
CONTROL "Allow Delete",IDC_ALLOWDELETE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,298,13,67,11
CONTROL "Allow Edit",IDC_ALLOWEDIT,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,298,25,67,11
CONTROL "Allow Insert",IDC_ALLOWINSERT,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,298,37,67,11
CONTROL "Redraw",IDC_ALLOWREDRAW,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,298,61,67,11
PUSHBUTTON "&Add Node",IDC_ADDNODE,207,82,88,18
PUSHBUTTON "&Delete Node",IDC_DELNODE,207,103,88,18
PUSHBUTTON "&Empty Control",IDC_FLUSH,207,124,88,18
DEFPUSHBUTTON "&OK",OKBUTTON,207,163,88,18
LTEXT "Current Node:",IDC_STATIC,219,8,47,8
LTEXT "Indent Level:",IDC_STATIC,222,26,44,8
LTEXT "Number of Nodes:",IDC_STATIC,206,45,60,8
LTEXT "Maximum Indent:",IDC_STATIC,210,64,56,8
CONTROL "Numbering",IDC_NUMBERING,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,298,49,67,11
CONTROL "OL_VBX.VBX;OL_VBX;OL_VBX3",IDC_OL_VBX1,"VBControl",
WS_CLIPSIBLINGS | WS_BORDER | WS_TABSTOP,3,4,196,177
END
//////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//
IDD_TESTVBX_FORM DLGINIT
BEGIN
1008, 0x400, 83, 0
0x0b00, 0x4449, 0x5f43, 0x4c4f, 0x565f, 0x5842, 0x0131, 0x0000, 0x0b03,
0x0d00, 0xff3d, 0x0007, 0x0000, 0x0000, 0x02bc, 0x0000, 0x0000, 0x0201,
0x2202, 0x7953, 0x7473, 0x6d65, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0113,
0x0114, 0x0115, 0x0116, 0x0117, 0x0718, "\377"
0
END
IDD_ABOUTBOX DLGINIT
BEGIN
1008, 0x400, 83, 0
0x0b00, 0x4449, 0x5f43, 0x4c4f, 0x565f, 0x5842, 0x0131, 0x0000, 0x0b03,
0x0d00, 0xff3d, 0x0007, 0x0000, 0x0000, 0x02bc, 0x0000, 0x0000, 0x0201,
0x2202, 0x7953, 0x7473, 0x6d65, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0113,
0x0114, 0x0115, 0x0116, 0x0117, 0x0718, "\377"
0
END
//////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE PRELOAD DISCARDABLE
BEGIN
IDR_MAINFRAME "Testvbx Windows Application"
IDR_TESTVBTYPE "\nTestvb\nTestvb Document\n\n\nTestvb.Document\nTestvb Document"
END
STRINGTABLE PRELOAD DISCARDABLE
BEGIN
AFX_IDS_APP_TITLE "Testvbx Windows Application"
AFX_IDS_IDLEMESSAGE "Ready"
END
STRINGTABLE DISCARDABLE
BEGIN
ID_INDICATOR_EXT "EXT"
ID_INDICATOR_CAPS "CAP"
ID_INDICATOR_NUM "NUM"
ID_INDICATOR_SCRL "SCRL"
ID_INDICATOR_OVR "OVR"
ID_INDICATOR_REC "REC"
END
STRINGTABLE DISCARDABLE
BEGIN
ID_FILE_NEW "Create a new document"
ID_FILE_OPEN "Open an existing document"
ID_FILE_CLOSE "Close the active document"
ID_FILE_SAVE "Save the active document"
ID_FILE_SAVE_AS "Save the active document with a new name"
END
STRINGTABLE DISCARDABLE
BEGIN
ID_APP_ABOUT "Display program information, version number and copyright"
ID_APP_EXIT "Quit the application; prompts to save documents"
END
STRINGTABLE DISCARDABLE
BEGIN
ID_FILE_MRU_FILE1 "Open this document"
ID_FILE_MRU_FILE2 "Open this document"
ID_FILE_MRU_FILE3 "Open this document"
ID_FILE_MRU_FILE4 "Open this document"
END
STRINGTABLE DISCARDABLE
BEGIN
ID_NEXT_PANE "Switch to the next window pane"
ID_PREV_PANE "Switch back to the previous window pane"
END
STRINGTABLE DISCARDABLE
BEGIN
ID_WINDOW_NEW "Open another window for the active document"
ID_WINDOW_ARRANGE "Arrange icons at the bottom of the window"
ID_WINDOW_CASCADE "Arrange windows so they overlap"
ID_WINDOW_TILE_HORZ "Arrange windows as non-overlapping tiles"
ID_WINDOW_TILE_VERT "Arrange windows as non-overlapping tiles"
ID_WINDOW_SPLIT "Split the active window into panes"
END
STRINGTABLE DISCARDABLE
BEGIN
ID_EDIT_CLEAR "Erase the selection"
ID_EDIT_CLEAR_ALL "Erase everything"
ID_EDIT_COPY "Copy the selection and put it on the Clipboard"
ID_EDIT_CUT "Cut the selection and put it on the Clipboard"
ID_EDIT_FIND "Find the specified text"
ID_EDIT_PASTE "Insert Clipboard contents"
ID_EDIT_REPEAT "Repeat the last action"
ID_EDIT_REPLACE "Replace specific text with different text"
ID_EDIT_SELECT_ALL "Select the entire document"
ID_EDIT_UNDO "Undo the last action"
ID_EDIT_REDO "Redo the previously undone action"
END
STRINGTABLE DISCARDABLE
BEGIN
ID_VIEW_TOOLBAR "Show or hide the toolbar"
ID_VIEW_STATUS_BAR "Show or hide the status bar"
END
STRINGTABLE DISCARDABLE
BEGIN
AFX_IDS_SCSIZE "Change the window size"
AFX_IDS_SCMOVE "Change the window position"
AFX_IDS_SCMINIMIZE "Reduce the window to an icon"
AFX_IDS_SCMAXIMIZE "Enlarge the window to full size"
AFX_IDS_SCNEXTWINDOW "Switch to the next document window"
AFX_IDS_SCPREVWINDOW "Switch to the previous document window"
AFX_IDS_SCCLOSE "Close the active window and prompts to save the documents"
END
STRINGTABLE DISCARDABLE
BEGIN
AFX_IDS_SCRESTORE "Restore the window to normal size"
AFX_IDS_SCTASKLIST "Activate Task List"
AFX_IDS_MDICHILD "Activate this window"
END
#ifndef APSTUDIO_INVOKED
////////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "res\testvbx.rc2" // non-App Studio edited resources
#include "afxres.rc" // Standard components
/////////////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED