CaptionDemo.rc
上传用户:kssdz899
上传日期:2007-01-08
资源大小:79k
文件大小:19k
- //Microsoft Developer Studio generated resource script.
- //
- #include "resource.h"
- #define APSTUDIO_READONLY_SYMBOLS
- /////////////////////////////////////////////////////////////////////////////
- //
- // Generated from the TEXTINCLUDE 2 resource.
- //
- #include "afxres.h"
- /////////////////////////////////////////////////////////////////////////////
- #undef APSTUDIO_READONLY_SYMBOLS
- /////////////////////////////////////////////////////////////////////////////
- // English (U.S.) resources
- #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
- #ifdef _WIN32
- LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
- #pragma code_page(1252)
- #endif //_WIN32
- /////////////////////////////////////////////////////////////////////////////
- //
- // Icon
- //
- // Icon with lowest ID value placed first to ensure application icon
- // remains consistent on all systems.
- IDR_MAINFRAME ICON DISCARDABLE "res\CaptionDemo.ico"
- IDR_CAPTIOTYPE ICON DISCARDABLE "res\CaptionDemoDoc.ico"
- /////////////////////////////////////////////////////////////////////////////
- //
- // Bitmap
- //
- IDR_MAINFRAME BITMAP MOVEABLE PURE "res\Toolbar.bmp"
- /////////////////////////////////////////////////////////////////////////////
- //
- // Toolbar
- //
- IDR_MAINFRAME TOOLBAR DISCARDABLE 16, 15
- BEGIN
- BUTTON ID_FILE_NEW
- BUTTON ID_FILE_OPEN
- BUTTON ID_FILE_SAVE
- SEPARATOR
- BUTTON ID_EDIT_CUT
- BUTTON ID_EDIT_COPY
- BUTTON ID_EDIT_PASTE
- SEPARATOR
- BUTTON ID_FILE_PRINT
- SEPARATOR
- BUTTON ID_APP_ABOUT
- END
- /////////////////////////////////////////////////////////////////////////////
- //
- // Menu
- //
- IDR_MAINFRAME MENU PRELOAD DISCARDABLE
- BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&NewtCtrl+N", ID_FILE_NEW
- MENUITEM "&Open...tCtrl+O", ID_FILE_OPEN
- MENUITEM SEPARATOR
- MENUITEM "P&rint Setup...", ID_FILE_PRINT_SETUP
- 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 CaptionDemo...", ID_APP_ABOUT
- END
- END
- IDR_CAPTIOTYPE MENU PRELOAD DISCARDABLE
- BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&NewtCtrl+N", ID_FILE_NEW
- MENUITEM "&Open...tCtrl+O", ID_FILE_OPEN
- MENUITEM "&Close", ID_FILE_CLOSE
- MENUITEM "&SavetCtrl+S", ID_FILE_SAVE
- MENUITEM "Save &As...", ID_FILE_SAVE_AS
- MENUITEM SEPARATOR
- MENUITEM "&Print...tCtrl+P", ID_FILE_PRINT
- MENUITEM "Print Pre&view", ID_FILE_PRINT_PREVIEW
- MENUITEM "P&rint Setup...", ID_FILE_PRINT_SETUP
- MENUITEM SEPARATOR
- MENUITEM "Recent File", ID_FILE_MRU_FILE1, GRAYED
- MENUITEM SEPARATOR
- MENUITEM "E&xit", ID_APP_EXIT
- END
- POPUP "&Edit"
- BEGIN
- MENUITEM "&UndotCtrl+Z", ID_EDIT_UNDO
- MENUITEM SEPARATOR
- MENUITEM "Cu&ttCtrl+X", ID_EDIT_CUT
- MENUITEM "&CopytCtrl+C", ID_EDIT_COPY
- MENUITEM "&PastetCtrl+V", ID_EDIT_PASTE
- MENUITEM SEPARATOR
- MENUITEM "Document Title...", ID_EDIT_SET_TITLE
- POPUP "Caption Style"
- BEGIN
- POPUP "Colours"
- BEGIN
- POPUP "Active"
- BEGIN
- MENUITEM "Custom...", ID_EDIT_SET_ACTIVE_COLORS
- MENUITEM "System Default", ID_EDIT_SET_DEFAULT_ACTIVE_COLORS
- END
- POPUP "Inactive"
- BEGIN
- MENUITEM "Custom...", ID_EDIT_SET_INACTIVE_COLORS
- MENUITEM "System Default", ID_EDIT_SET_DEFAULT_INACTIVE_COLORS
- END
- END
- POPUP "Font"
- BEGIN
- MENUITEM "Active...", ID_EDIT_SET_ACTIVE_FONT
- MENUITEM "Inactive...", ID_EDIT_SET_INACTIVE_FONT
- MENUITEM "System Default", ID_EDIT_SET_DEFAULT_FONT
- END
- POPUP "Background"
- BEGIN
- MENUITEM "Gradient", ID_EDIT_SET_GRADIENT_CAPTION
- MENUITEM "Bitmap...", ID_EDIT_SET_BMP_CAPTION
- MENUITEM "Plain", ID_EDIT_SET_DEFAULT_BACKGROUND
- END
- POPUP "Lines"
- BEGIN
- MENUITEM "Set Number of Lines...", ID_EDIT_CAPTION_MULTILINE
- MENUITEM "Single Line", ID_EDIT_CAPTION_SINGLELINE
- END
- END
- 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 CaptionDemo...", 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
- "P", ID_FILE_PRINT, 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_COLOURPICK_DIALOG DIALOGEX 0, 0, 174, 50
- STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
- EXSTYLE WS_EX_APPWINDOW
- CAPTION "ColourPicker"
- FONT 8, "MS Sans Serif", 0, 0, 0x1
- BEGIN
- PUSHBUTTON "OK",IDOK,117,8,50,14
- DEFPUSHBUTTON "Test",IDC_COLOURPICKER,7,4,100,21
- CONTROL "Edit &Text colour",IDC_MODE1,"Button",
- BS_AUTORADIOBUTTON | WS_GROUP,7,35,65,10
- CONTROL "Edit &Background colour",IDC_MODE2,"Button",
- BS_AUTORADIOBUTTON,77,35,90,10
- END
- #ifndef _MAC
- /////////////////////////////////////////////////////////////////////////////
- //
- // Version
- //
- VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,0,0,1
- PRODUCTVERSION 1,0,0,1
- FILEFLAGSMASK 0x3fL
- #ifdef _DEBUG
- FILEFLAGS 0x1L
- #else
- FILEFLAGS 0x0L
- #endif
- FILEOS 0x4L
- FILETYPE 0x1L
- FILESUBTYPE 0x0L
- BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904B0"
- BEGIN
- VALUE "CompanyName", "