TrayIconDemo.rc
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:16k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE MOVEABLE PURE 
  25. BEGIN
  26.     "resource.h"
  27. END
  28. 2 TEXTINCLUDE MOVEABLE PURE 
  29. BEGIN
  30.     "#include ""afxres.h""rn"
  31.     ""
  32. END
  33. 3 TEXTINCLUDE MOVEABLE PURE 
  34. BEGIN
  35.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  36.     "#define _AFX_NO_OLE_RESOURCESrn"
  37.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  38.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  39.     "rn"
  40.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  41.     "#ifdef _WIN32rn"
  42.     "LANGUAGE 9, 1rn"
  43.     "#pragma code_page(1252)rn"
  44.     "#endif //_WIN32rn"
  45.     "#include ""res\TrayIconDemo.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  46.     "#include ""afxres.rc""         // Standard componentsrn"
  47.     "#include ""afxprint.rc""       // printing/print preview resourcesrn"
  48.     "#endifrn"
  49.     ""
  50. END
  51. #endif    // APSTUDIO_INVOKED
  52. /////////////////////////////////////////////////////////////////////////////
  53. //
  54. // Icon
  55. //
  56. // Icon with lowest ID value placed first to ensure application icon
  57. // remains consistent on all systems.
  58. IDR_MAINFRAME           ICON    DISCARDABLE     "res\CjSample.ico"
  59. IDI_TRAYICON            ICON    DISCARDABLE     "res\icon1.ico"
  60. IDI_ICON2               ICON    DISCARDABLE     "res\icon2.ico"
  61. IDI_ICON3               ICON    DISCARDABLE     "res\icon3.ico"
  62. IDI_ICON4               ICON    DISCARDABLE     "res\icon4.ico"
  63. IDI_ICON5               ICON    DISCARDABLE     "res\icon5.ico"
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // Bitmap
  67. //
  68. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  69. /////////////////////////////////////////////////////////////////////////////
  70. //
  71. // Toolbar
  72. //
  73. IDR_MAINFRAME TOOLBAR MOVEABLE PURE  16, 15
  74. BEGIN
  75.     BUTTON      ID_FILE_NEW
  76.     BUTTON      ID_FILE_OPEN
  77.     BUTTON      ID_FILE_SAVE
  78.     SEPARATOR
  79.     BUTTON      ID_EDIT_CUT
  80.     BUTTON      ID_EDIT_COPY
  81.     BUTTON      ID_EDIT_PASTE
  82.     SEPARATOR
  83.     BUTTON      ID_FILE_PRINT
  84.     SEPARATOR
  85.     BUTTON      ID_APP_ABOUT
  86.     SEPARATOR
  87.     BUTTON      ID_PROPERTIES
  88. END
  89. /////////////////////////////////////////////////////////////////////////////
  90. //
  91. // Menu
  92. //
  93. IDR_MAINFRAME MENU DISCARDABLE 
  94. BEGIN
  95.     POPUP "&File"
  96.     BEGIN
  97.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  98.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  99.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  100.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  101.         MENUITEM SEPARATOR
  102.         MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  103.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  104.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  105.         MENUITEM SEPARATOR
  106.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  107.         MENUITEM SEPARATOR
  108.         MENUITEM "E&xit",                       ID_APP_EXIT
  109.     END
  110.     POPUP "&Edit"
  111.     BEGIN
  112.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  113.         MENUITEM SEPARATOR
  114.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  115.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  116.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  117.     END
  118.     POPUP "&View"
  119.     BEGIN
  120.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  121.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  122.         MENUITEM SEPARATOR
  123.         MENUITEM "&Office XP Theme",                ID_VIEW_THEME_OFFICEXP
  124.     END
  125.     POPUP "&Help"
  126.     BEGIN
  127.         MENUITEM "&About Tray Icon Sample...",  ID_APP_ABOUT
  128.     END
  129. END
  130. IDR_POPUP_TRAY MENU DISCARDABLE 
  131. BEGIN
  132.     POPUP "RClickTrayIcon"
  133.     BEGIN
  134.         MENUITEM "&Minimize / Maximize To Tray...", IDR_RESTORE
  135.         MENUITEM SEPARATOR
  136.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  137.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  138.         MENUITEM SEPARATOR
  139.         MENUITEM "E&xit",                       ID_APP_EXIT
  140.     END
  141. END
  142. /////////////////////////////////////////////////////////////////////////////
  143. //
  144. // Accelerator
  145. //
  146. IDR_MAINFRAME ACCELERATORS MOVEABLE PURE 
  147. BEGIN
  148.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  149.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  150.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  151.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  152.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  153.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  154.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  155.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  156.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  157.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  158.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  159.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  160.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  161.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  162. END
  163. /////////////////////////////////////////////////////////////////////////////
  164. //
  165. // Dialog
  166. //
  167. IDD_PROPERTIES DIALOG DISCARDABLE  0, 0, 346, 236
  168. STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
  169. CAPTION "Tray Icon Properties"
  170. FONT 8, "MS Sans Serif"
  171. BEGIN
  172.     LTEXT           "Tooltip Te&xt:",IDC_TXT_TOOLTIP,7,7,40,8
  173.     EDITTEXT        IDC_EDIT_TOOLTIP,7,17,253,14,ES_AUTOHSCROLL
  174.     CONTROL         "Show &Icon",IDC_CHK_SHOWICON,"Button",BS_AUTOCHECKBOX | 
  175.                     WS_TABSTOP,7,39,50,10
  176.     CONTROL         "&Animate Icon",IDC_CHK_ANIMATEICON,"Button",
  177.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,50,57,10
  178.     PUSHBUTTON      "&Set Tooltip",IDC_BTN_TOOLTIP,266,17,73,14
  179.     PUSHBUTTON      "&Minimize to Tray...",IDC_BTN_MINIMIZETRAY,266,34,73,14
  180.     PUSHBUTTON      "&Done",IDOK,266,51,73,14
  181.     LTEXT           "The following features require Windows 2000 or later",
  182.                     IDC_TEXT_INFO,7,72,332,8
  183.     CONTROL         "",IDC_GBOX_FEATURES,"Static",SS_ETCHEDHORZ,7,85,332,1
  184.     CONTROL         "&Hide Icon",IDC_CHK_HIDEICON,"Button",BS_AUTOCHECKBOX | 
  185.                     WS_TABSTOP,7,93,47,10
  186.     LTEXT           "Balloon Tip",IDC_TXT_BALLOONTIP,7,110,46,8
  187.     CONTROL         "",IDC_GBOX_BALLOONTIP,"Static",SS_ETCHEDHORZ,57,115,282,
  188.                     1
  189.     LTEXT           "Tit&le:",IDC_TXT_BALLOONTITLE,7,125,16,8
  190.     EDITTEXT        IDC_EDIT_BALLOONTITLE,7,136,253,14,ES_AUTOHSCROLL
  191.     LTEXT           "&Timeout ( seconds )",IDC_TXT_TIMEOUT,266,125,63,8
  192.     EDITTEXT        IDC_EDIT_TIMEOUT,266,136,73,14,ES_AUTOHSCROLL
  193.     LTEXT           "Message:",IDC_TXT_BALLOONMSG,7,152,32,8
  194.     EDITTEXT        IDC_EDIT_BALLOONMSG,7,165,253,37,ES_MULTILINE | 
  195.                     ES_AUTOVSCROLL | ES_WANTRETURN
  196.     LTEXT           "Icon style:",IDC_TXT_BALLOONICON,7,205,33,8
  197.     COMBOBOX        IDC_COMBO_BALLOONICON,7,216,253,30,CBS_DROPDOWNLIST | 
  198.                     WS_VSCROLL | WS_TABSTOP
  199.     PUSHBUTTON      "Sh&ow...",IDC_BTN_SHOWBALLOON,266,214,73,14
  200. END
  201. #ifndef _MAC
  202. /////////////////////////////////////////////////////////////////////////////
  203. //
  204. // Version
  205. //
  206. VS_VERSION_INFO VERSIONINFO
  207.  FILEVERSION 12,0,0,4
  208.  PRODUCTVERSION 12,0,0,4
  209.  FILEFLAGSMASK 0x3fL
  210. #ifdef _DEBUG
  211.  FILEFLAGS 0x1L
  212. #else
  213.  FILEFLAGS 0x0L
  214. #endif
  215.  FILEOS 0x4L
  216.  FILETYPE 0x1L
  217.  FILESUBTYPE 0x0L
  218. BEGIN
  219.     BLOCK "StringFileInfo"
  220.     BEGIN
  221.         BLOCK "040904B0"
  222.         BEGIN
  223.             VALUE "FileDescription", "TrayIconDemo MFC Application"
  224.             VALUE "FileVersion", "12, 0, 0, 4"
  225.             VALUE "InternalName", "TrayIconDemo"
  226.             VALUE "LegalCopyright", "(c)1998-2008 Codejock Software, All Rights Reserved."
  227.             VALUE "OriginalFilename", "TrayIconDemo.EXE"
  228.             VALUE "ProductName", "TrayIconDemo Application"
  229.             VALUE "ProductVersion", "12, 0, 0, 4"
  230.         END
  231.     END
  232.     BLOCK "VarFileInfo"
  233.     BEGIN
  234.         VALUE "Translation", 0x409, 1200
  235.     END
  236. END
  237. #endif    // !_MAC
  238. /////////////////////////////////////////////////////////////////////////////
  239. //
  240. // DESIGNINFO
  241. //
  242. #ifdef APSTUDIO_INVOKED
  243. GUIDELINES DESIGNINFO MOVEABLE PURE 
  244. BEGIN
  245.     IDD_PROPERTIES, DIALOG
  246.     BEGIN
  247.         LEFTMARGIN, 7
  248.         RIGHTMARGIN, 339
  249.         TOPMARGIN, 7
  250.         BOTTOMMARGIN, 228
  251.     END
  252. END
  253. #endif    // APSTUDIO_INVOKED
  254. /////////////////////////////////////////////////////////////////////////////
  255. //
  256. // Dialog Info
  257. //
  258. IDD_PROPERTIES DLGINIT
  259. BEGIN
  260.     IDC_COMBO_BALLOONICON, 0x403, 26, 0
  261. 0x494e, 0x4649, 0x455f, 0x5252, 0x524f, 0x2820, 0x4520, 0x7272, 0x726f, 
  262. 0x6920, 0x6f63, 0x206e, 0x0029, 
  263.     IDC_COMBO_BALLOONICON, 0x403, 31, 0
  264. 0x494e, 0x4649, 0x495f, 0x464e, 0x204f, 0x2028, 0x6e49, 0x6f66, 0x6d72, 
  265. 0x7461, 0x6f69, 0x206e, 0x6369, 0x6e6f, 0x2920, "00" 
  266.     IDC_COMBO_BALLOONICON, 0x403, 22, 0
  267. 0x494e, 0x4649, 0x4e5f, 0x4e4f, 0x2045, 0x2028, 0x6f4e, 0x6920, 0x6f63, 
  268. 0x206e, 0x0029, 
  269.     IDC_COMBO_BALLOONICON, 0x403, 30, 0
  270. 0x494e, 0x4649, 0x575f, 0x5241, 0x494e, 0x474e, 0x2820, 0x5720, 0x7261, 
  271. 0x696e, 0x676e, 0x6920, 0x6f63, 0x206e, 0x0029, 
  272.     0
  273. END
  274. /////////////////////////////////////////////////////////////////////////////
  275. //
  276. // String Table
  277. //
  278. STRINGTABLE DISCARDABLE 
  279. BEGIN
  280.     IDR_MAINFRAME           "Codejock Tray Icon SamplennTrayIcnnnTrayIconDemo.DocumentnTrayIc Document"
  281.     IDS_BALLOON_MESSAGE     "Please visit our website for additional product information including registration details.  You can click here to go there now!"
  282.     IDS_BALLOON_TITLE       "Codejock Software Information"
  283. END
  284. STRINGTABLE DISCARDABLE 
  285. BEGIN
  286.     AFX_IDS_APP_TITLE       "Codejock Tray Icon Sample"
  287.     AFX_IDS_IDLEMESSAGE     "Ready"
  288. END
  289. STRINGTABLE DISCARDABLE 
  290. BEGIN
  291.     ID_INDICATOR_EXT        "EXT"
  292.     ID_INDICATOR_CAPS       "CAP"
  293.     ID_INDICATOR_NUM        "NUM"
  294.     ID_INDICATOR_SCRL       "SCRL"
  295.     ID_INDICATOR_OVR        "OVR"
  296.     ID_INDICATOR_REC        "REC"
  297. END
  298. STRINGTABLE DISCARDABLE 
  299. BEGIN
  300.     ID_FILE_NEW             "Create a new documentnNew"
  301.     ID_FILE_OPEN            "Open an existing documentnOpen"
  302.     ID_FILE_CLOSE           "Close the active documentnClose"
  303.     ID_FILE_SAVE            "Save the active documentnSave"
  304.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  305.     ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  306.     ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  307.     ID_FILE_PRINT           "Print the active documentnPrint"
  308.     ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  309. END
  310. STRINGTABLE DISCARDABLE 
  311. BEGIN
  312.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  313.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  314. END
  315. STRINGTABLE DISCARDABLE 
  316. BEGIN
  317.     ID_FILE_MRU_FILE1       "Open this document"
  318.     ID_FILE_MRU_FILE2       "Open this document"
  319.     ID_FILE_MRU_FILE3       "Open this document"
  320.     ID_FILE_MRU_FILE4       "Open this document"
  321.     ID_FILE_MRU_FILE5       "Open this document"
  322.     ID_FILE_MRU_FILE6       "Open this document"
  323.     ID_FILE_MRU_FILE7       "Open this document"
  324.     ID_FILE_MRU_FILE8       "Open this document"
  325.     ID_FILE_MRU_FILE9       "Open this document"
  326.     ID_FILE_MRU_FILE10      "Open this document"
  327.     ID_FILE_MRU_FILE11      "Open this document"
  328.     ID_FILE_MRU_FILE12      "Open this document"
  329.     ID_FILE_MRU_FILE13      "Open this document"
  330.     ID_FILE_MRU_FILE14      "Open this document"
  331.     ID_FILE_MRU_FILE15      "Open this document"
  332.     ID_FILE_MRU_FILE16      "Open this document"
  333. END
  334. STRINGTABLE DISCARDABLE 
  335. BEGIN
  336.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  337.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  338. END
  339. STRINGTABLE DISCARDABLE 
  340. BEGIN
  341.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  342. END
  343. STRINGTABLE DISCARDABLE 
  344. BEGIN
  345.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  346.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  347.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  348.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  349.     ID_EDIT_FIND            "Find the specified textnFind"
  350.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  351.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  352.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  353.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  354.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  355.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  356. END
  357. STRINGTABLE DISCARDABLE 
  358. BEGIN
  359.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  360.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  361. END
  362. STRINGTABLE DISCARDABLE 
  363. BEGIN
  364.     AFX_IDS_SCSIZE          "Change the window size"
  365.     AFX_IDS_SCMOVE          "Change the window position"
  366.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  367.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  368.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  369.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  370.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  371. END
  372. STRINGTABLE DISCARDABLE 
  373. BEGIN
  374.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  375.     AFX_IDS_SCTASKLIST      "Activate Task List"
  376. END
  377. STRINGTABLE DISCARDABLE 
  378. BEGIN
  379.     AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  380. END
  381. STRINGTABLE DISCARDABLE 
  382. BEGIN
  383.     IDR_RESTORE             "Toggle minimize maximize to system traynMinimize / Maximize To Tray"
  384.     ID_PROPERTIES           "Tray Icon PropertiesnTray Icon Properties"
  385.     ID_VIEW_THEME_OFFICEXP          "Toggles Office XP Theme /nOffice XP Theme"
  386. END
  387. #endif    // English (U.S.) resources
  388. /////////////////////////////////////////////////////////////////////////////
  389. #ifndef APSTUDIO_INVOKED
  390. /////////////////////////////////////////////////////////////////////////////
  391. //
  392. // Generated from the TEXTINCLUDE 3 resource.
  393. //
  394. #define _AFX_NO_SPLITTER_RESOURCES
  395. #define _AFX_NO_OLE_RESOURCES
  396. #define _AFX_NO_TRACKER_RESOURCES
  397. #define _AFX_NO_PROPERTY_RESOURCES
  398. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  399. #ifdef _WIN32
  400. LANGUAGE 9, 1
  401. #pragma code_page(1252)
  402. #endif //_WIN32
  403. #include "resTrayIconDemo.rc2"  // non-Microsoft Visual C++ edited resources
  404. #include "afxres.rc"         // Standard components
  405. #include "afxprint.rc"       // printing/print preview resources
  406. #endif
  407. /////////////////////////////////////////////////////////////////////////////
  408. #endif    // not APSTUDIO_INVOKED