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

对话框与窗口

开发平台:

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. /////////////////////////////////////////////////////////////////////////////
  20. //
  21. // Dialog
  22. //
  23. IDD_DIALOG_RESOURCES DIALOG DISCARDABLE  0, 0, 363, 311
  24. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  25. CAPTION "Calendar data resources"
  26. FONT 8, "MS Sans Serif"
  27. BEGIN
  28.     DEFPUSHBUTTON   "OK",IDOK,130,290,50,14
  29.     PUSHBUTTON      "Cancel",IDCANCEL,185,290,50,14
  30.     GROUPBOX        "Data Providers",IDC_STATIC,5,5,355,90
  31.     CONTROL         "List1",IDC_LISTCTRL_DATA_PROVIDERS,"SysListView32",
  32.                     LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | 
  33.                     WS_BORDER | WS_TABSTOP,10,15,285,75
  34.     GROUPBOX        "Resources",IDC_STATIC,5,100,355,185
  35.     PUSHBUTTON      "Add...",IDC_BTN_DATA_PROVIDER_ADD,305,35,50,14
  36.     PUSHBUTTON      "Change...",IDC_BTN_DATA_PROVIDER_EDIT,305,15,50,14
  37.     PUSHBUTTON      "Remove",IDC_BTN_DATA_PROVIDER_DELETE,305,55,50,14
  38.     LISTBOX         IDC_LIST_RESOURCES,10,110,145,150,LBS_OWNERDRAWFIXED | 
  39.                     LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  40.                     WS_HSCROLL | WS_TABSTOP
  41.     PUSHBUTTON      "Add...",IDC_BTN_RESOURCES_ADD,10,265,40,14
  42.     PUSHBUTTON      "Remove",IDC_BTN_RESOURCES_DELETE,55,265,40,14
  43.     CONTROL         "",IDC_STATIC,"Static",SS_BLACKFRAME,165,110,1,170
  44.     LTEXT           "Data Provider:",IDC_STATIC,170,145,46,13,SS_CENTERIMAGE
  45.     COMBOBOX        IDC_CMB_RC_DATA_PROVIDER,220,145,134,30,CBS_DROPDOWNLIST | 
  46.                     WS_VSCROLL | WS_TABSTOP
  47.     CONTROL         "",IDC_STATIC,"Static",SS_GRAYFRAME,170,140,185,1
  48.     LTEXT           "Schedules:",IDC_STATIC,170,170,36,8
  49.     CONTROL         "Show All",IDC_CHK_SCHEDULES_ALL,"Button",
  50.                     BS_AUTOCHECKBOX | BS_RIGHT | WS_TABSTOP,315,185,40,10
  51.     LISTBOX         IDC_LIST_SCHEDULES,170,185,140,75,LBS_OWNERDRAWFIXED | 
  52.                     LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  53.                     WS_HSCROLL | WS_TABSTOP
  54.     PUSHBUTTON      "Add",IDC_BTN_SCHEDULES_ADD,285,265,25,14
  55.     PUSHBUTTON      "Remove",IDC_BTN_SCHEDULES_DELEDE,315,245,40,14
  56.     CONTROL         "",IDC_STATIC,"Static",SS_GRAYFRAME,170,165,185,1
  57.     EDITTEXT        IDC_EDIT_RC_NAME,220,110,135,14,ES_AUTOHSCROLL
  58.     LTEXT           "Name:",IDC_STATIC,170,110,45,13,SS_CENTERIMAGE
  59.     CONTROL         "Auto",IDC_CHK_RC_NAME_AUTO,"Button",BS_AUTOCHECKBOX | 
  60.                     WS_TABSTOP,220,125,35,10
  61.     EDITTEXT        IDC_EDIT_SCHEDULE_NEW_NAME,170,265,110,14,ES_AUTOHSCROLL
  62.     PUSHBUTTON      "Change",IDC_BTN_SCHEDULES_CHANGE,315,265,40,14
  63.     PUSHBUTTON      "/\",IDC_BTN_RESOURCES_MOVE_UP,115,265,18,14
  64.     PUSHBUTTON      "\/",IDC_BTN_RESOURCES_MOVE_DOWN,137,265,18,14
  65. END
  66. IDD_DATA_PROVIDER_OPTIONS DIALOG DISCARDABLE  0, 0, 367, 236
  67. STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | 
  68.     WS_CAPTION
  69. CAPTION "Select data provider and data file"
  70. FONT 8, "MS Sans Serif"
  71. BEGIN
  72.     DEFPUSHBUTTON   "OK",IDOK,130,215,50,14
  73.     PUSHBUTTON      "Cancel",IDCANCEL,186,215,50,14
  74.     CONTROL         "Use Memory data provider",IDC_DPFOPT_USE_MEM_DP,"Button",
  75.                     BS_AUTORADIOBUTTON,10,10,215,10
  76.     CONTROL         "Use DataBase data provider",IDC_DPFOPT_USE_DB_DP,"Button",
  77.                     BS_AUTORADIOBUTTON,5,90,220,10
  78.     EDITTEXT        IDC_DPFOPT_USE_MEM_DP_FILE,25,40,330,14,ES_AUTOHSCROLL
  79.     PUSHBUTTON      "...",IDC_DPFOPT_USE_MEM_DP_FILE_BROWSE,340,58,15,14
  80.     LTEXT           "Binary data file:",IDC_DPFOPT_USE_MEM_DP_FILE_LABEL,25,
  81.                     30,60,8
  82.     LTEXT           "Load/Save events when app Start/Exit.",
  83.                     IDC_DPFOPT_USE_MEM_DP_HELP,25,60,255,10
  84.     GROUPBOX        "",IDC_DPFOPT_USE_MEM_DP_FRAME,20,20,340,55
  85.     EDITTEXT        IDC_DPFOPT_USE_DB_DP_FILE,25,120,330,14,ES_AUTOHSCROLL
  86.     PUSHBUTTON      "...",IDC_DPFOPT_USE_DB_DP_FILE_BROWSE,340,138,15,14
  87.     LTEXT           "DataBase file (*.mdb):",IDC_DPFOPT_USE_DB_DP_FILE_LABEL,
  88.                     25,110,80,8
  89.     LTEXT           "Load/Save events on the fly (when we need show or change data)",
  90.                     IDC_DPFOPT_USE_DB_DP_HELP,25,140,255,10
  91.     GROUPBOX        "",IDC_DPFOPT_USE_DB_DP_FRAME,20,100,340,55
  92.     CONTROL         "Use MAPI data provider",IDC_DPFOPT_USE_MAPI_DP,"Button",
  93.                     BS_AUTORADIOBUTTON,10,170,220,10
  94.     GROUPBOX        "",IDC_DPFOPT_USE_MAPI_DP_FRAME,20,180,340,25
  95.     LTEXT           "User default connection settings are used.",
  96.                     IDC_DPFOPT_USE_DB_MAPI_LABEL,25,190,330,8
  97. END
  98. IDD_CALENDAR_DEMO_VIEW DIALOG DISCARDABLE  0, 0, 526, 74
  99. STYLE DS_FIXEDSYS | WS_CHILD
  100. FONT 8, "MS Shell Dlg"
  101. BEGIN
  102.     CONTROL         "First Day of week:",IDC_FIRST_DAY_OF_WEEK_TEXT,"Static",
  103.                     SS_LEFTNOWORDWRAP | WS_GROUP,11,36,64,10
  104.     COMBOBOX        IDC_FIRST_DAY_OF_WEEK_CB,75,33,95,100,CBS_DROPDOWNLIST | 
  105.                     CBS_AUTOHSCROLL | WS_TABSTOP
  106.     GROUPBOX        "Day view",IDC_DAY_VIEW_FRAME,195,4,105,40
  107.     CONTROL         "Mo",IDC_WORK_WEEK_DAY_MO,"Button",BS_AUTOCHECKBOX | 
  108.                     WS_TABSTOP,38,18,23,10
  109.     GROUPBOX        "Calendar work week ",IDC_WORK_WEEK_FRAME,5,4,185,64
  110.     CONTROL         "Tu",IDC_WORK_WEEK_DAY_TU,"Button",BS_AUTOCHECKBOX | 
  111.                     WS_TABSTOP,62,18,23,10
  112.     CONTROL         "We",IDC_WORK_WEEK_DAY_WE,"Button",BS_AUTOCHECKBOX | 
  113.                     WS_TABSTOP,88,18,23,10
  114.     CONTROL         "Th",IDC_WORK_WEEK_DAY_TH,"Button",BS_AUTOCHECKBOX | 
  115.                     WS_TABSTOP,112,18,23,10
  116.     CONTROL         "Fr",IDC_WORK_WEEK_DAY_FR,"Button",BS_AUTOCHECKBOX | 
  117.                     WS_TABSTOP,138,18,23,10
  118.     CONTROL         "Sa",IDC_WORK_WEEK_DAY_SA,"Button",BS_AUTOCHECKBOX | 
  119.                     WS_TABSTOP,162,18,23,10
  120.     CONTROL         "Su",IDC_WORK_WEEK_DAY_SU,"Button",BS_AUTOCHECKBOX | 
  121.                     WS_TABSTOP,13,18,22,10
  122.     CONTROL         "Start time:",IDC_START_TIME_TEXT,"Static",
  123.                     SS_LEFTNOWORDWRAP | WS_GROUP,11,53,40,10
  124.     COMBOBOX        IDC_START_TIME_CB,51,49,45,100,CBS_DROPDOWNLIST | 
  125.                     WS_VSCROLL | WS_TABSTOP
  126.     RTEXT           "Time scale:",IDC_TIME_SCALE_TEXT,197,15,39,10
  127.     COMBOBOX        IDC_TIME_SCALE,238,12,57,100,CBS_DROPDOWNLIST | 
  128.                     WS_TABSTOP
  129.     CONTROL         "Show time as clocks",IDD_WEEK_SHOW_TIME_AS_CLOCK,"Button",
  130.                     BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,310,17,79,10
  131.     GROUPBOX        "Week view",IDC_WEEK_VIEW_FRAME,305,4,105,40
  132.     CONTROL         "Show end time",IDD_WEEK_SHOW_END_TIME,"Button",
  133.                     BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,310,28,63,10
  134.     CONTROL         "Show time as clocks",IDD_MONTH_SHOW_TIME_AS_CLOCKS,
  135.                     "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,421,17,
  136.                     79,10
  137.     GROUPBOX        "Month view",IDC_MONTH_VIEW_FRAME,414,4,105,64
  138.     CONTROL         "Show end time",IDD_MONTH_SHOW_END_TIME,"Button",
  139.                     BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,421,28,63,10
  140.     CONTROL         "Compress weekend days",IDD_MONTH_COMPRESS_WEEKEND_DAYS,
  141.                     "Button",BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,421,40,
  142.                     95,10
  143.     CONTROL         "End time:",IDC_END_TIME_TEXT,"Static",SS_LEFTNOWORDWRAP | 
  144.                     WS_GROUP,105,53,33,10
  145.     COMBOBOX        IDC_END_TIME_CB,139,51,45,100,CBS_DROPDOWNLIST | 
  146.                     WS_VSCROLL | WS_TABSTOP
  147.     CONTROL         "Weeks count:",IDD_MONTH_WEEKS_COUNT_TEXT,"Static",
  148.                     SS_LEFTNOWORDWRAP | WS_GROUP,421,53,49,10
  149.     COMBOBOX        IDD_MONTH_WEEKS_COUNT,471,51,40,100,CBS_DROPDOWNLIST | 
  150.                     CBS_AUTOHSCROLL | WS_TABSTOP
  151.     PUSHBUTTON      "Time zone ...",IDC_TIME_ZONE_BTN,238,28,57,13
  152.     PUSHBUTTON      "Advanced...",IDC_ADVANCED_OPT_BTN,360,52,46,13
  153.     GROUPBOX        "Other",IDC_ADVANCED_FRAME,195,45,215,23
  154.     RTEXT           "ToolTips:",IDC_TOOLTIPS,197,54,39,10
  155.     COMBOBOX        IDC_TOOLTIP_MODE,238,52,57,100,CBS_DROPDOWNLIST | 
  156.                     WS_TABSTOP
  157. END
  158. IDD_DATEPICKER DIALOGEX 0, 0, 136, 186
  159. STYLE WS_CHILD | WS_CLIPCHILDREN | WS_BORDER
  160. EXSTYLE WS_EX_TOOLWINDOW
  161. FONT 8, "MS Sans Serif"
  162. BEGIN
  163.     CONTROL         "",IDC_DATEPICKER,"XTPDatePicker",0x0,0,13,135,172
  164. END
  165. IDD_INTERNAL_OPTIONS DIALOG DISCARDABLE  0, 0, 292, 95
  166. STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
  167. CAPTION "Internal options"
  168. FONT 8, "MS Shell Dlg"
  169. BEGIN
  170.     DEFPUSHBUTTON   "OK",IDOK,111,74,50,14
  171.     PUSHBUTTON      "Cancel",IDCANCEL,167,74,50,14
  172.     GROUPBOX        "DB Data Provider",IDC_DBDP_CACHE_MODE_FRAME,7,7,278,46
  173.     LTEXT           "Cache mode:",IDC_DBDP_CACHE_MODE_LABEL,14,21,43,8
  174.     COMBOBOX        IDC_DBDP_CACHE_MODE_CB,61,20,217,111,CBS_DROPDOWNLIST | 
  175.                     WS_VSCROLL | WS_TABSTOP
  176.     LTEXT           "",IDC_DBDP_CACHE_MODE_COMMENT,14,36,264,8
  177. END
  178. IDD_ADVANCED_OPTIONS DIALOG DISCARDABLE  0, 0, 377, 180
  179. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  180. CAPTION "Advanced Calendar Control options"
  181. FONT 8, "MS Sans Serif"
  182. BEGIN
  183.     DEFPUSHBUTTON   "OK",IDOK,135,160,50,14
  184.     PUSHBUTTON      "Cancel",IDCANCEL,191,160,50,14
  185.     GROUPBOX        "Standard Event editing options",IDC_STATIC,5,5,225,95
  186.     CONTROL         "Enable in-place edit event subject - by Mouse Click",
  187.                     IDC_CHECK_EDIT_SUBJECT_BY_MOUSE_CLICK,"Button",
  188.                     BS_AUTOCHECKBOX | WS_TABSTOP,10,20,215,10
  189.     CONTROL         "Enable in-place edit event subject - After Event Resize",
  190.                     IDC_CHECK_EDIT_SUBJECT_AFTER_RESIZE,"Button",
  191.                     BS_AUTOCHECKBOX | WS_TABSTOP,10,33,215,10
  192.     CONTROL         "Enable in-place edit event subject - by F2",
  193.                     IDC_CHECK_EDIT_SUBJECT_BY_F2,"Button",BS_AUTOCHECKBOX | 
  194.                     WS_TABSTOP,10,50,215,10
  195.     CONTROL         "Enable in-place edit event subject - by TAB",
  196.                     IDC_CHECK_EDIT_SUBJECT_BY_TAB,"Button",BS_AUTOCHECKBOX | 
  197.                     WS_TABSTOP,10,63,215,10
  198.     CONTROL         "Enable in-place Create Event",IDC_CHECK_CREATE_EVENT,
  199.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,85,215,10
  200.     CONTROL         "Use ""MS Outlook"" font glyphs",
  201.                     IDC_CHECK_OUTLOOKFONTGLYPHS,"Button",BS_AUTOCHECKBOX | 
  202.                     WS_TABSTOP,10,115,215,10
  203.     CONTROL         "Enable Themes",IDC_CHECK_ENABLE_THEMES,"Button",
  204.                     BS_AUTOCHECKBOX | WS_TABSTOP,240,5,110,10
  205.     CONTROL         "Office 2003 theme",IDC_RADIO_THEME_OFFICE_2003,"Button",
  206.                     BS_AUTORADIOBUTTON | WS_DISABLED | WS_GROUP | WS_TABSTOP,
  207.                     245,40,74,10
  208.     CONTROL         "Office 2007 theme",IDC_RADIO_THEME_OFFICE_2007,"Button",
  209.                     BS_AUTORADIOBUTTON | WS_DISABLED | WS_TABSTOP,245,25,74,
  210.                     10
  211.     COMBOBOX        IDC_COMBO_THEME_DEFAULT_COLOR,291,96,74,165,
  212.                     CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_SORT | 
  213.                     WS_DISABLED | WS_VSCROLL | WS_TABSTOP
  214.     CONTROL         "Enable Reminders manager",IDC_CHECK_REMINDERS,"Button",
  215.                     BS_AUTOCHECKBOX | WS_TABSTOP,245,130,110,10
  216.     GROUPBOX        "",IDC_STATIC,5,105,225,45
  217.     GROUPBOX        "",IDC_STATIC,240,120,130,30
  218.     GROUPBOX        "",IDC_STATIC,240,15,130,100,WS_GROUP
  219.     LTEXT           "Base color:",IDC_STATIC_THEME_DEFAULT_COLOR,245,96,43,
  220.                     15,SS_CENTERIMAGE | WS_DISABLED
  221.     CONTROL         "",IDC_STATIC,"Static",SS_GRAYFRAME,245,90,120,1
  222.     CONTROL         "Show minutes on TimeScale (DayView)",
  223.                     IDC_CHECK_SHOW_TSMINUTES,"Button",BS_AUTOCHECKBOX | 
  224.                     WS_TABSTOP,10,130,215,10
  225.     CONTROL         "Enable Markup Support",IDC_CHECK_MARKUP,"Button",
  226.                     BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,245,55,110,10
  227.     CONTROL         "Enable dynamic text customization",IDC_CHECK_GETTEXT,
  228.                     "Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,245,
  229.                     70,120,10
  230. END
  231. /////////////////////////////////////////////////////////////////////////////
  232. //
  233. // DESIGNINFO
  234. //
  235. #ifdef APSTUDIO_INVOKED
  236. GUIDELINES DESIGNINFO MOVEABLE PURE 
  237. BEGIN
  238.     IDD_DIALOG_RESOURCES, DIALOG
  239.     BEGIN
  240.         LEFTMARGIN, 5
  241.         RIGHTMARGIN, 360
  242.         TOPMARGIN, 5
  243.         BOTTOMMARGIN, 305
  244.     END
  245.     IDD_ADVANCED_OPTIONS, DIALOG
  246.     BEGIN
  247.         LEFTMARGIN, 7
  248.         RIGHTMARGIN, 230
  249.         TOPMARGIN, 7
  250.         BOTTOMMARGIN, 158
  251.     END
  252. END
  253. #endif    // APSTUDIO_INVOKED
  254. /////////////////////////////////////////////////////////////////////////////
  255. //
  256. // Dialog Info
  257. //
  258. #ifdef APSTUDIO_INVOKED
  259. /////////////////////////////////////////////////////////////////////////////
  260. //
  261. // TEXTINCLUDE
  262. //
  263. 1 TEXTINCLUDE MOVEABLE PURE 
  264. BEGIN
  265.     "resource.h"
  266. END
  267. 2 TEXTINCLUDE MOVEABLE PURE 
  268. BEGIN
  269.     "#include ""afxres.h""rn"
  270.     ""
  271. END
  272. 3 TEXTINCLUDE MOVEABLE PURE 
  273. BEGIN
  274.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  275.     "#define _AFX_NO_OLE_RESOURCESrn"
  276.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  277.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  278.     "rn"
  279.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  280.     "#ifdef _WIN32rn"
  281.     "LANGUAGE 9, 1rn"
  282.     "#pragma code_page(1252)rn"
  283.     "#endif //_WIN32rn"
  284.     "#include ""res\CalendarDemo.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  285.     "#include ""afxres.rc""         // Standard componentsrn"
  286.     "#include ""afxprint.rc""       // printing/print preview resourcesrn"
  287.     "#endifrn"
  288.     ""
  289. END
  290. #endif    // APSTUDIO_INVOKED
  291. /////////////////////////////////////////////////////////////////////////////
  292. //
  293. // Icon
  294. //
  295. // Icon with lowest ID value placed first to ensure application icon
  296. // remains consistent on all systems.
  297. IDR_MAINFRAME           ICON    DISCARDABLE     "res\CjSample.ico"
  298. /////////////////////////////////////////////////////////////////////////////
  299. //
  300. // Bitmap
  301. //
  302. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  303. IDR_TOOLBAR_ALPHA       BITMAP  MOVEABLE PURE   "res\Toolbar_a.bmp"
  304. /////////////////////////////////////////////////////////////////////////////
  305. //
  306. // Toolbar
  307. //
  308. IDR_MAINFRAME TOOLBAR MOVEABLE PURE  16, 16
  309. BEGIN
  310.     BUTTON      ID_FILE_NEW
  311.     BUTTON      ID_FILE_OPEN
  312.     BUTTON      ID_FILE_SAVE
  313.     SEPARATOR
  314.     BUTTON      ID_FILE_PAGE_SETUP
  315.     BUTTON      ID_FILE_PRINT_PREVIEW
  316.     BUTTON      ID_FILE_PRINT
  317.     SEPARATOR
  318.     BUTTON      ID_EDIT_UNDO
  319.     SEPARATOR
  320.     BUTTON      ID_EDIT_CUT
  321.     BUTTON      ID_EDIT_COPY
  322.     BUTTON      ID_EDIT_PASTE
  323.     SEPARATOR
  324.     BUTTON      ID_CALENDAR_VIEW_DAY
  325.     BUTTON      ID_CALENDAR_VIEW_WORKWEEK
  326.     BUTTON      ID_CALENDAR_VIEW_WEEK
  327.     BUTTON      ID_CALENDAR_VIEW_MONTH
  328.     SEPARATOR
  329.     BUTTON      ID_VIEW_DATEPICKER
  330.     BUTTON      ID_VIEW_PROPERTIES
  331.     SEPARATOR
  332.     BUTTON      ID_VIEW_OFFICE_THEME
  333.     SEPARATOR
  334.     BUTTON      ID_APP_ABOUT
  335. END
  336. /////////////////////////////////////////////////////////////////////////////
  337. //
  338. // Menu
  339. //
  340. IDR_MAINFRAME MENU DISCARDABLE 
  341. BEGIN
  342.     POPUP "&File"
  343.     BEGIN
  344.         MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  345.         MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  346.         MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE, GRAYED
  347.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS, GRAYED
  348.         MENUITEM SEPARATOR
  349.         MENUITEM "Load sample MultiSchedules (simple)", 
  350.                                                 ID_FILE_LOAD_SAMPLE_MULTISCHEDULES_SIMPLE
  351.         MENUITEM "Load sample MultiSchedules (extended)", 
  352.                                                 ID_FILE_LOAD_SAMPLE_MULTISCHEDULES_EXTENDED
  353.         MENUITEM "MultiSchedules configuration...", 
  354.                                                 ID_FILE_MULTISCHEDULES_CFG
  355.         MENUITEM SEPARATOR
  356.         MENUITEM "Page Setup",                  ID_FILE_PAGE_SETUP
  357.         MENUITEM "Print Setup",                 ID_FILE_PRINT_SETUP
  358.         MENUITEM "Print Preview",               ID_FILE_PRINT_PREVIEW
  359.         MENUITEM "Print",                       ID_FILE_PRINT
  360.         MENUITEM SEPARATOR
  361.         MENUITEM "E&xit",                       ID_APP_EXIT
  362.     END
  363.     POPUP "&Edit"
  364.     BEGIN
  365.         MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  366.         MENUITEM SEPARATOR
  367.         MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  368.         MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  369.         MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  370.         MENUITEM SEPARATOR
  371.         MENUITEM "&Add new event",              ID_CALENDAR_ADD_NEW_EVENT
  372.     END
  373.     POPUP "&View"
  374.     BEGIN
  375.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  376.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  377.         MENUITEM SEPARATOR
  378.         MENUITEM "Date Picker Bar",             ID_VIEW_DATEPICKER
  379.         MENUITEM "Options Bar",                 ID_VIEW_PROPERTIES
  380.         MENUITEM "&Advanced Options",           IDC_ADVANCED_OPT_BTN
  381.         MENUITEM SEPARATOR
  382.         MENUITEM "Reminders",                   ID_VIEW_REMINDERS
  383.     END
  384.     POPUP "Calendar"
  385.     BEGIN
  386.         POPUP "Change &View"
  387.         BEGIN
  388.             MENUITEM "&Day",                        ID_CALENDAR_VIEW_DAY
  389.             MENUITEM "Wo&rk week",                  ID_CALENDAR_VIEW_WORKWEEK
  390.             MENUITEM "&Week",                       ID_CALENDAR_VIEW_WEEK
  391.             MENUITEM "&Month",                      ID_CALENDAR_VIEW_MONTH
  392.         END
  393.         POPUP "Change &Timescale"
  394.         BEGIN
  395.             MENUITEM "6&0 Minutes",                 ID_CALENDAR_CHANGETIMESCALE_60MINUTES
  396.             MENUITEM "&30 Minutes",                 ID_CALENDAR_CHANGETIMESCALE_30MINUTES
  397.             MENUITEM "&15 Minutes",                 ID_CALENDAR_CHANGETIMESCALE_15MINUTES
  398.             MENUITEM "10 &Minutes",                 ID_CALENDAR_CHANGETIMESCALE_10MINUTES
  399.             MENUITEM "&6 Minutes",                  ID_CALENDAR_CHANGETIMESCALE_6MINUTES
  400.             MENUITEM "&5 Minutes",                  ID_CALENDAR_CHANGETIMESCALE_5MINUTES
  401.             MENUITEM SEPARATOR
  402.             MENUITEM "&Change time zone",           ID_CALENDAR_CHANGETIMESCALE_CHANGETIMEZONE
  403.         END
  404. //        POPUP "Language"
  405. //        BEGIN
  406. //            MENUITEM "Default",                     ID_CALENDAR_LANGUAGE_DEFAULT
  407. //
  408. //            MENUITEM SEPARATOR
  409. //            MENUITEM "Russian",                     ID_CALENDAR_LANGUAGE_RUSSIAN
  410. //        END
  411.     END
  412.     POPUP "&Help"
  413.     BEGIN
  414.         MENUITEM "&About CalendarDemo...",      ID_APP_ABOUT
  415.     END
  416. END
  417. IDR_MENU_CONTEXT_DAY MENU DISCARDABLE 
  418. BEGIN
  419.     POPUP "Popup"
  420.     BEGIN
  421.         MENUITEM "6&0 Minutes",                 ID_CALENDAR_CHANGETIMESCALE_60MINUTES
  422.         MENUITEM "&30 Minutes",                 ID_CALENDAR_CHANGETIMESCALE_30MINUTES
  423.         MENUITEM "&15 Minutes",                 ID_CALENDAR_CHANGETIMESCALE_15MINUTES
  424.         MENUITEM "10 &Minutes",                 ID_CALENDAR_CHANGETIMESCALE_10MINUTES
  425.         MENUITEM "&6 Minutes",                  ID_CALENDAR_CHANGETIMESCALE_6MINUTES
  426.         MENUITEM "&5 Minutes",                  ID_CALENDAR_CHANGETIMESCALE_5MINUTES
  427.         MENUITEM SEPARATOR
  428.         MENUITEM "&Change time zone",           ID_CALENDAR_CHANGETIMESCALE_CHANGETIMEZONE
  429.         MENUITEM SEPARATOR
  430.         MENUITEM "&Add new event",              ID_CALENDAR_ADD_NEW_EVENT
  431.     END
  432. END
  433. IDR_MENU_CONTEXT_WEEK MENU DISCARDABLE 
  434. BEGIN
  435.     POPUP "Popup"
  436.     BEGIN
  437.         MENUITEM "Go to This &Day",             ID_POPUP_GOTOTHISDAY
  438.         MENUITEM SEPARATOR
  439.         MENUITEM "&Add new event",              ID_CALENDAR_ADD_NEW_EVENT
  440.     END
  441. END
  442. IDR_MENU_CONTEXT_EVENT MENU DISCARDABLE 
  443. BEGIN
  444.     POPUP "Popup"
  445.     BEGIN
  446.         MENUITEM "Delete event",                ID_POPUP_DELETEEVENT
  447.         MENUITEM SEPARATOR
  448.         MENUITEM "Properties",                  ID_POPUP_PROPERTIES
  449.     END
  450. END
  451. IDR_MENU_POPUP_CALENDAR_THEME MENU DISCARDABLE 
  452. BEGIN
  453.     POPUP "Theme"
  454.     BEGIN
  455.         MENUITEM "Office 2000",                 ID_CALENDAR_THEME_OFFICE_2000
  456.         MENUITEM "Office XP",                   ID_CALENDAR_THEME_OFFICE_XP
  457.         MENUITEM "Office 2003",                 ID_CALENDAR_THEME_OFFICE_2003
  458.         MENUITEM "Office 2007",                 ID_CALENDAR_THEME_OFFICE_2007
  459.     END
  460. END
  461. /////////////////////////////////////////////////////////////////////////////
  462. //
  463. // Accelerator
  464. //
  465. IDR_MAINFRAME ACCELERATORS MOVEABLE PURE 
  466. BEGIN
  467.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  468.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  469.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  470.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  471.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  472.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  473.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  474.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  475.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  476.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  477.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  478.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  479.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  480.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  481. END
  482. #ifndef _MAC
  483. /////////////////////////////////////////////////////////////////////////////
  484. //
  485. // Version
  486. //
  487. VS_VERSION_INFO VERSIONINFO
  488.  FILEVERSION 12,0,0,4
  489.  PRODUCTVERSION 12,0,0,4
  490.  FILEFLAGSMASK 0x3fL
  491. #ifdef _DEBUG
  492.  FILEFLAGS 0x1L
  493. #else
  494.  FILEFLAGS 0x0L
  495. #endif
  496.  FILEOS 0x4L
  497.  FILETYPE 0x1L
  498.  FILESUBTYPE 0x0L
  499. BEGIN
  500.     BLOCK "StringFileInfo"
  501.     BEGIN
  502.         BLOCK "040904B0"
  503.         BEGIN
  504.             VALUE "FileDescription", "CalendarDemo MFC Application"
  505.             VALUE "FileVersion", "12, 0, 0, 4"
  506.             VALUE "InternalName", "CalendarDemo"
  507.             VALUE "LegalCopyright", "(c)1998-2008 Codejock Software, All Rights Reserved."
  508.             VALUE "OriginalFilename", "CalendarDemo.EXE"
  509.             VALUE "ProductName", "CalendarDemo Application"
  510.             VALUE "ProductVersion", "12, 0, 0, 4"
  511.         END
  512.     END
  513.     BLOCK "VarFileInfo"
  514.     BEGIN
  515.         VALUE "Translation", 0x409, 1200
  516.     END
  517. END
  518. #endif    // !_MAC
  519. /////////////////////////////////////////////////////////////////////////////
  520. //
  521. // String Table
  522. //
  523. STRINGTABLE DISCARDABLE 
  524. BEGIN
  525.     IDR_MAINFRAME           "Codejock Calendar SamplenCalendarDemo FilenCalendnAccess Files(*.mdb)n.mdbnCalendarDemo.DocumentnCalend Document"
  526. END
  527. STRINGTABLE DISCARDABLE 
  528. BEGIN
  529.     AFX_IDS_APP_TITLE       "Codejock Calendar Sample"
  530.     AFX_IDS_IDLEMESSAGE     "Ready"
  531. END
  532. STRINGTABLE DISCARDABLE 
  533. BEGIN
  534.     ID_INDICATOR_EXT        "EXT"
  535.     ID_INDICATOR_CAPS       "CAP"
  536.     ID_INDICATOR_NUM        "NUM"
  537.     ID_INDICATOR_SCRL       "SCRL"
  538.     ID_INDICATOR_OVR        "OVR"
  539.     ID_INDICATOR_REC        "REC"
  540. END
  541. STRINGTABLE DISCARDABLE 
  542. BEGIN
  543.     ID_FILE_NEW             "Create a new documentnNew"
  544.     ID_FILE_OPEN            "Open an existing documentnOpen"
  545.     ID_FILE_CLOSE           "Close the active documentnClose"
  546.     ID_FILE_SAVE            "Save the active documentnSave"
  547.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  548.     ID_FILE_PAGE_SETUP      "Change the printing optionsnPage Setup"
  549.     ID_FILE_PRINT_SETUP     "Change the printer and printing optionsnPrint Setup"
  550.     ID_FILE_PRINT           "Print the active documentnPrint"
  551.     ID_FILE_PRINT_PREVIEW   "Display full pagesnPrint Preview"
  552. END
  553. STRINGTABLE DISCARDABLE 
  554. BEGIN
  555.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  556.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  557. END
  558. STRINGTABLE DISCARDABLE 
  559. BEGIN
  560.     ID_FILE_MRU_FILE1       "Open this document"
  561.     ID_FILE_MRU_FILE2       "Open this document"
  562.     ID_FILE_MRU_FILE3       "Open this document"
  563.     ID_FILE_MRU_FILE4       "Open this document"
  564.     ID_FILE_MRU_FILE5       "Open this document"
  565.     ID_FILE_MRU_FILE6       "Open this document"
  566.     ID_FILE_MRU_FILE7       "Open this document"
  567.     ID_FILE_MRU_FILE8       "Open this document"
  568.     ID_FILE_MRU_FILE9       "Open this document"
  569.     ID_FILE_MRU_FILE10      "Open this document"
  570.     ID_FILE_MRU_FILE11      "Open this document"
  571.     ID_FILE_MRU_FILE12      "Open this document"
  572.     ID_FILE_MRU_FILE13      "Open this document"
  573.     ID_FILE_MRU_FILE14      "Open this document"
  574.     ID_FILE_MRU_FILE15      "Open this document"
  575.     ID_FILE_MRU_FILE16      "Open this document"
  576. END
  577. STRINGTABLE DISCARDABLE 
  578. BEGIN
  579.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  580.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  581. END
  582. STRINGTABLE DISCARDABLE 
  583. BEGIN
  584.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  585. END
  586. STRINGTABLE DISCARDABLE 
  587. BEGIN
  588.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  589.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  590.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  591.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  592.     ID_EDIT_FIND            "Find the specified textnFind"
  593.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  594.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  595.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  596.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  597.     ID_EDIT_UNDO            "Undo/Redo last actionnUndo/Redo (Alt+BackSpace, Ctrl+Z)"
  598.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  599. END
  600. STRINGTABLE DISCARDABLE 
  601. BEGIN
  602.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  603.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  604.     ID_VIEW_PROPERTIES      "Show/hide options panenShow/hide options pane"
  605. END
  606. STRINGTABLE DISCARDABLE 
  607. BEGIN
  608.     ID_VIEW_DATEPICKER      "Show/hide date picker control n Show/hide date picker control"
  609.     IDS_MSG_EXT             "Would you like to add %s extension to your file name?"
  610. END
  611. STRINGTABLE DISCARDABLE 
  612. BEGIN
  613.     AFX_IDS_SCSIZE          "Change the window size"
  614.     AFX_IDS_SCMOVE          "Change the window position"
  615.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  616.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  617.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  618.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  619.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  620. END
  621. STRINGTABLE DISCARDABLE 
  622. BEGIN
  623.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  624.     AFX_IDS_SCTASKLIST      "Activate Task List"
  625. END
  626. STRINGTABLE DISCARDABLE 
  627. BEGIN
  628.     AFX_IDS_PREVIEW_CLOSE   "Close print preview modenCancel Preview"
  629. END
  630. STRINGTABLE DISCARDABLE 
  631. BEGIN
  632.     ID_CALENDAR_VIEW_DAY    "Switch calendar to day view modenDay view"
  633.     ID_CALENDAR_VIEW_WORKWEEK 
  634.                             "Switch calendar to work week view modenWork week view"
  635.     ID_CALENDAR_VIEW_WEEK   "Switch calendar to week view modenWeek view"
  636.     ID_CALENDAR_VIEW_MONTH  "Switch calendar to month view modenMonth view"
  637. END
  638. STRINGTABLE DISCARDABLE 
  639. BEGIN
  640.     ID_VIEW_OFFICE_THEME    "Change Office ThemenOffice Theme"
  641. END
  642. #endif    // English (U.S.) resources
  643. /////////////////////////////////////////////////////////////////////////////
  644. #ifndef APSTUDIO_INVOKED
  645. /////////////////////////////////////////////////////////////////////////////
  646. //
  647. // Generated from the TEXTINCLUDE 3 resource.
  648. //
  649. #define _AFX_NO_SPLITTER_RESOURCES
  650. #define _AFX_NO_OLE_RESOURCES
  651. #define _AFX_NO_TRACKER_RESOURCES
  652. #define _AFX_NO_PROPERTY_RESOURCES
  653. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  654. #ifdef _WIN32
  655. LANGUAGE 9, 1
  656. #pragma code_page(1252)
  657. #endif //_WIN32
  658. #include "resCalendarDemo.rc2"  // non-Microsoft Visual C++ edited resources
  659. #include "afxres.rc"         // Standard components
  660. #include "afxprint.rc"       // printing/print preview resources
  661. #endif
  662. /////////////////////////////////////////////////////////////////////////////
  663. #endif    // not APSTUDIO_INVOKED