home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / ipc / ddeml / clock / clockres.rc < prev    next >
Text File  |  1997-10-09  |  3KB  |  75 lines

  1.  
  2. //-----------------------------------------------------------------------------
  3. // This is a part of the Microsoft Source Code Samples. 
  4. // Copyright (C) 1993-1997 Microsoft Corporation.
  5. // All rights reserved. 
  6. //  
  7. // This source code is only intended as a supplement to 
  8. // Microsoft Development Tools and/or WinHelp documentation.
  9. // See these sources for detailed information regarding the 
  10. // Microsoft samples programs.
  11. //-----------------------------------------------------------------------------
  12.  
  13. #include "windows.h"
  14. #include "clock.h"
  15.  
  16. cckk    ICON PRELOAD DISCARDABLE clock.ico
  17.  
  18. IDD_ABOUT DIALOG 25, 23, 184, 78
  19. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  20. CAPTION "About Client"
  21. FONT 8, "Helv"
  22. BEGIN
  23.     CTEXT           "Microsoft Windows", -1, 0, 5, 184, 8
  24.     CTEXT           "DDEML Clock", -1, 0, 15, 184, 8
  25.     CTEXT           "Version 3.1", -1, 0, 34, 184, 8
  26.     CTEXT           "Copyright 1992 - 1997 Microsoft Corp.", -1, 0, 47, 184, 9
  27.     DEFPUSHBUTTON   "OK", IDOK, 76, 60, 32, 14, WS_GROUP
  28.     ICON            "cckk", -1, 25, 14, 16, 21
  29. END
  30.  
  31. STRINGTABLE PRELOAD DISCARDABLE
  32. BEGIN
  33. ;Attention localizers!  Only the following lines need to be
  34. ;localized!
  35.  
  36.     IDS_APPNAME,    "DDEML Clock"
  37. ; Note: We can not split the following line into two because it is used in a
  38. ; hardsysmodal dialogbox.
  39.     IDS_TOOMANY,    "Cannot use timer necessary to run Clock; close some applications and try again."
  40. ;    IDS_FONTFILE,  "digital.fon"   /* File containing digital font. */
  41.     IDS_FONTFILE,   "helve08.fnt"   /* File containing digital font. */
  42.     IDS_TOPMOST,    "Always on &Top"
  43.  
  44. ;DO NOT LOCALIZE THESE!
  45. ; Below: Names of the keys in the file "win.ini" that
  46. ;        contain the international time and date settings
  47.  
  48.     IDS_DATA,       "data"
  49.     IDS_INTL,       "intl"
  50.     IDS_ITIME,      "iTime"
  51.     IDS_S1159,      "s1159"
  52.     IDS_S2359,      "s2359"
  53.     IDS_STIME,      "sTime"
  54.     IDS_TIMESEP     ":"
  55.     IDS_CLKFORMAT,  "iFormat"
  56.     IDS_INIFILE,    "DDEMLclk.ini"
  57.  
  58.     IDS_USNAME,     "DDEML Clock"
  59.  
  60. ;End of non-localized strings.
  61. END
  62.  
  63. Clock MENU PRELOAD DISCARDABLE
  64.     BEGIN
  65.         POPUP    "&Settings"
  66.             BEGIN
  67.                 MENUITEM "&Analog",         IDM_ANALOG
  68.                 MENUITEM "&Digital",        IDM_DIGITAL
  69.                 MENUITEM SEPARATOR
  70.                 MENUITEM "&No Title",       IDM_NOTITLE
  71.                 MENUITEM SEPARATOR
  72.                 MENUITEM "A&bout Clock...", IDM_ABOUT
  73.             END
  74.     END
  75.