#ifndef __AFXRES_H__ #define __AFXRES_H__ #include "winresrc.h" // extract from windows header ///////////////////////////////////////////////////////////////////////////// // MFC resource types (see Technical note TN024 for implementation details) #ifndef RC_INVOKED #define RT_DLGINIT MAKEINTRESOURCE(240) #define RT_TOOLBAR MAKEINTRESOURCE(241) #endif ///////////////////////////////////////////////////////////////////////////// // General style bits etc // ControlBar styles #define CBRS_ALIGN_LEFT 0x1000L #define CBRS_ALIGN_TOP 0x2000L #define CBRS_ALIGN_RIGHT 0x4000L #define CBRS_ALIGN_BOTTOM 0x8000L #define CBRS_ALIGN_ANY 0xF000L #define CBRS_BORDER_LEFT 0x0100L #define CBRS_BORDER_TOP 0x0200L #define CBRS_BORDER_RIGHT 0x0400L #define CBRS_BORDER_BOTTOM 0x0800L #define CBRS_BORDER_ANY 0x0F00L #define CBRS_TOOLTIPS 0x0010L #define CBRS_FLYBY 0x0020L #define CBRS_FLOAT_MULTI 0x0040L #define CBRS_BORDER_3D 0x0080L #define CBRS_HIDE_INPLACE 0x0008L #define CBRS_SIZE_DYNAMIC 0x0004L #define CBRS_SIZE_FIXED 0x0002L #define CBRS_FLOATING 0x0001L #define CBRS_GRIPPER 0x00400000L #define CBRS_ORIENT_HORZ (CBRS_ALIGN_TOP|CBRS_ALIGN_BOTTOM) #define CBRS_ORIENT_VERT (CBRS_ALIGN_LEFT|CBRS_ALIGN_RIGHT) #define CBRS_ORIENT_ANY (CBRS_ORIENT_HORZ|CBRS_ORIENT_VERT) #define CBRS_ALL 0x0040FFFFL // the CBRS_ style is made up of an alignment style and a draw border style // the alignment styles are mutually exclusive // the draw border styles may be combined #define CBRS_NOALIGN 0x00000000L #define CBRS_LEFT (CBRS_ALIGN_LEFT|CBRS_BORDER_RIGHT) #define CBRS_TOP (CBRS_ALIGN_TOP|CBRS_BORDER_BOTTOM) #define CBRS_RIGHT (CBRS_ALIGN_RIGHT|CBRS_BORDER_LEFT) #define CBRS_BOTTOM (CBRS_ALIGN_BOTTOM|CBRS_BORDER_TOP) ///////////////////////////////////////////////////////////////////////////// // Standard window components // Mode indicators in status bar - these are routed like commands #define ID_INDICATOR_EXT 0xE700 // extended selection indicator #define ID_INDICATOR_CAPS 0xE701 // cap lock indicator #define ID_INDICATOR_NUM 0xE702 // num lock indicator #define ID_INDICATOR_SCRL 0xE703 // scroll lock indicator #define ID_INDICATOR_OVR 0xE704 // overtype mode indicator #define ID_INDICATOR_REC 0xE705 // record mode indicator #define ID_INDICATOR_KANA 0xE706 // kana lock indicator #define ID_SEPARATOR 0 // special separator value #ifndef RC_INVOKED // code only // Standard control bars (IDW = window ID) #define AFX_IDW_CONTROLBAR_FIRST 0xE800 #define AFX_IDW_CONTROLBAR_LAST 0xE8FF #define AFX_IDW_TOOLBAR 0xE800 // main Toolbar for window #define AFX_IDW_STATUS_BAR 0xE801 // Status bar window #define AFX_IDW_PREVIEW_BAR 0xE802 // PrintPreview Dialog Bar #define AFX_IDW_RESIZE_BAR 0xE803 // OLE in-place resize bar #define AFX_IDW_REBAR 0xE804 // COMCTL32 "rebar" Bar #define AFX_IDW_DIALOGBAR 0xE805 // CDialogBar // Note: If your application supports docking toolbars, you should // not use the following IDs for your own toolbars. The IDs chosen // are at the top of the first 32 such that the bars will be hidden // while in print preview mode, and are not likely to conflict with // IDs your application may have used succesfully in the past. #define AFX_IDW_DOCKBAR_TOP 0xE81B #define AFX_IDW_DOCKBAR_LEFT 0xE81C #define AFX_IDW_DOCKBAR_RIGHT 0xE81D #define AFX_IDW_DOCKBAR_BOTTOM 0xE81E #define AFX_IDW_DOCKBAR_FLOAT 0xE81F // Macro for mapping standard control bars to bitmask (limit of 32) #define AFX_CONTROLBAR_MASK(nIDC) (1L << (nIDC - AFX_IDW_CONTROLBAR_FIRST)) // parts of Main Frame #define AFX_IDW_PANE_FIRST 0xE900 // first pane (256 max) #define AFX_IDW_PANE_LAST 0xE9ff #define AFX_IDW_HSCROLL_FIRST 0xEA00 // first Horz scrollbar (16 max) #define AFX_IDW_VSCROLL_FIRST 0xEA10 // first Vert scrollbar (16 max) #define AFX_IDW_SIZE_BOX 0xEA20 // size box for splitters #define AFX_IDW_PANE_SAVE 0xEA21 // to shift AFX_IDW_PANE_FIRST #endif //!RC_INVOKED #ifndef APSTUDIO_INVOKED // common style for form views #define AFX_WS_DEFAULT_VIEW (WS_CHILD | WS_VISIBLE | WS_BORDER) #endif //!APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // Standard app configurable strings // for application title (defaults to EXE name or name in constructor) #define AFX_IDS_APP_TITLE 0xE000 // idle message bar line #define AFX_IDS_IDLEMESSAGE 0xE001 // message bar line when in shift-F1 help mode #define AFX_IDS_HELPMODEMESSAGE 0xE002 // document title when editing OLE embedding #define AFX_IDS_APP_TITLE_EMBEDDING 0xE003 // company name #define AFX_IDS_COMPANY_NAME 0xE004 // object name when server is inplace #define AFX_IDS_OBJ_TITLE_INPLACE 0xE005 ///////////////////////////////////////////////////////////////////////////// // Standard Commands // File commands #define ID_FILE_NEW 0xE100 #define ID_FILE_OPEN 0xE101 #define ID_FILE_CLOSE 0xE102 #define ID_FILE_SAVE 0xE103 #define ID_FILE_SAVE_AS 0xE104 #define ID_FILE_PAGE_SETUP 0xE105 #define ID_FILE_PRINT_SETUP 0xE106 #define ID_FILE_PRINT 0xE107 #define ID_FILE_PRINT_DIRECT 0xE108 #define ID_FILE_PRINT_PREVIEW 0xE109 #define ID_FILE_UPDATE 0xE10A #define ID_FILE_SAVE_COPY_AS 0xE10B #define ID_FILE_SEND_MAIL 0xE10C #define ID_FILE_NEW_FRAME 0xE10D #define ID_FILE_MRU_FIRST 0xE110 #define ID_FILE_MRU_FILE1 0xE110 // range - 16 max #define ID_FILE_MRU_FILE2 0xE111 #define ID_FILE_MRU_FILE3 0xE112 #define ID_FILE_MRU_FILE4 0xE113 #define ID_FILE_MRU_FILE5 0xE114 #define ID_FILE_MRU_FILE6 0xE115 #define ID_FILE_MRU_FILE7 0xE116 #define ID_FILE_MRU_FILE8 0xE117 #define ID_FILE_MRU_FILE9 0xE118 #define ID_FILE_MRU_FILE10 0xE119 #define ID_FILE_MRU_FILE11 0xE11A #define ID_FILE_MRU_FILE12 0xE11B #define ID_FILE_MRU_FILE13 0xE11C #define ID_FILE_MRU_FILE14 0xE11D #define ID_FILE_MRU_FILE15 0xE11E #define ID_FILE_MRU_FILE16 0xE11F #define ID_FILE_MRU_LAST 0xE11F // Edit commands #define ID_EDIT_CLEAR 0xE120 #define ID_EDIT_CLEAR_ALL 0xE121 #define ID_EDIT_COPY 0xE122 #define ID_EDIT_CUT 0xE123 #define ID_EDIT_FIND 0xE124 #define ID_EDIT_PASTE 0xE125 #define ID_EDIT_PASTE_LINK 0xE126 #define ID_EDIT_PASTE_SPECIAL 0xE127 #define ID_EDIT_REPEAT 0xE128 #define ID_EDIT_REPLACE 0xE129 #define ID_EDIT_SELECT_ALL 0xE12A #define ID_EDIT_UNDO 0xE12B #define ID_EDIT_REDO 0xE12C // Window commands #define ID_WINDOW_NEW 0xE130 #define ID_WINDOW_ARRANGE 0xE131 #define ID_WINDOW_CASCADE 0xE132 #define ID_WINDOW_TILE_HORZ 0xE133 #define ID_WINDOW_TILE_VERT 0xE134 #define ID_WINDOW_SPLIT 0xE135 #ifndef RC_INVOKED // code only #define AFX_IDM_WINDOW_FIRST 0xE130 #define AFX_IDM_WINDOW_LAST 0xE13F #define AFX_IDM_FIRST_MDICHILD 0xFF00 // window list starts here #endif //!RC_INVOKED // Help and App commands #define ID_APP_ABOUT 0xE140 #define ID_APP_EXIT 0xE141 #define ID_HELP_INDEX 0xE142 #define ID_HELP_FINDER 0xE143 #define ID_HELP_USING 0xE144 #define ID_CONTEXT_HELP 0xE145 // shift-F1 // special commands for processing help #define ID_HELP 0xE146 // first attempt for F1 #define ID_DEFAULT_HELP 0xE147 // last attempt // Misc #define ID_NEXT_PANE 0xE150 #define ID_PREV_PANE 0xE151 // Format #define ID_FORMAT_FONT 0xE160 // OLE commands #define ID_OLE_INSERT_NEW 0xE200 #define ID_OLE_EDIT_LINKS 0xE201 #define ID_OLE_EDIT_CONVERT 0xE202 #define ID_OLE_EDIT_CHANGE_ICON 0xE203 #define ID_OLE_EDIT_PROPERTIES 0xE204 #define ID_OLE_VERB_FIRST 0xE210 // range - 16 max #ifndef RC_INVOKED // code only #define ID_OLE_VERB_LAST 0xE21F #endif //!RC_INVOKED #define IDC_STATIC (-1) #ifndef SS_BITMAP #define SS_BITMAP 14 #endif #ifndef IDCLOSE #define IDCLOSE 8 #endif #endif //__AFXRES_H__ /////////////////////////////////////////////////////////////////////////////