home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / gdi / fonts / fontview / fontview.h < prev    next >
Text File  |  1997-10-05  |  5KB  |  135 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. *       This source code is only intended as a supplement to 
  7. *       Microsoft Development Tools and/or WinHelp documentation.
  8. *       See these sources for detailed information regarding the 
  9. *       Microsoft samples programs.
  10. \******************************************************************************/
  11.  
  12. #define IDM_SYSMENU  666
  13.  
  14. #define IDM_FILE        100
  15. #define IDM_NEW             IDM_FILE+1
  16. #define IDM_OPEN            IDM_FILE+2
  17. #define IDM_CLOSE           IDM_FILE+3
  18. #define IDM_SAVE            IDM_FILE+4
  19. #define IDM_SAVEAS          IDM_FILE+5
  20. #define IDM_PRINT           IDM_FILE+6
  21. #define IDM_PRINTSET        IDM_FILE+7
  22. #define IDM_EXIT            IDM_FILE+8
  23.  
  24. #define IDM_EDIT        110
  25. #define IDM_UNDO            IDM_EDIT+1
  26. #define IDM_CUT             IDM_EDIT+2
  27. #define IDM_COPY            IDM_EDIT+3
  28. #define IDM_PASTE           IDM_EDIT+4
  29. #define IDM_DELETE          IDM_EDIT+5
  30. #define IDM_FIND            IDM_EDIT+6
  31. #define IDM_REPLACE         IDM_EDIT+7
  32.  
  33. #define IDM_VIEW        120
  34. #define IDM_CHARSET         IDM_VIEW+1
  35. #define IDM_GLYPH           IDM_VIEW+2
  36. #define IDM_TOOLBAR         IDM_VIEW+3
  37. #define IDM_STATUSBAR       IDM_VIEW+4
  38.  
  39. #define IDM_DIALOG        130
  40. #define IDM_CREATEFONT      IDM_DIALOG+1
  41. #define IDM_TEXTMETRIC      IDM_DIALOG+2
  42. #define IDM_ENUMFONTS       IDM_DIALOG+3
  43. #define IDM_OUTLINEMETRICS  IDM_DIALOG+4
  44.  
  45. #define IDM_HELP        140
  46. #define IDM_HELP_CONTENTS   IDM_HELP+1
  47. #define IDM_HELP_INDEX      IDM_HELP+2
  48. #define IDM_HELP_OVERVIEW   IDM_HELP+3
  49. #define IDM_HELP_GLOSSARY   IDM_HELP+4
  50. #define IDM_HELP_TUTORIAL   IDM_HELP+5
  51. #define IDM_HELP_DEMO       IDM_HELP+6
  52. #define IDM_HELP_HELP       IDM_HELP+7
  53. #define IDM_ABOUT           IDM_HELP+8
  54.  
  55. #define ID_TOOLBAR      150
  56. #define ID_CREATEPARAM      ID_TOOLBAR+1
  57. #define ID_CREATEVALUE      ID_TOOLBAR+2
  58. #define ID_ZOOM                         ID_TOOLBAR+3
  59.  
  60. #define ID_STATUSBAR    160
  61. #define ID_MENUFIELD        ID_STATUSBAR+1
  62. #define ID_TIMEFIELD        ID_STATUSBAR+2
  63. #define ID_NUMFIELD         ID_STATUSBAR+3
  64. #define ID_OVRFIELD         ID_STATUSBAR+4
  65. #define ID_SCROLLFIELD      ID_STATUSBAR+5
  66. #define ID_CAPSFIELD        ID_STATUSBAR+6
  67.  
  68. #define CFP_BASE        200
  69. #define CFP_HEIGHT          CFP_BASE+0
  70. #define CFP_WIDTH           CFP_BASE+1
  71. #define CFP_ESCAPEMENT      CFP_BASE+2
  72. #define CFP_ORIENTATION     CFP_BASE+3
  73. #define CFP_WEIGHT          CFP_BASE+4
  74. #define CFP_ITALIC          CFP_BASE+5
  75. #define CFP_UNDERLINE       CFP_BASE+6
  76. #define CFP_STRIKEOUT       CFP_BASE+7
  77. #define CFP_CHARSET         CFP_BASE+8
  78. #define CFP_OUTPUTPRECISION CFP_BASE+9
  79. #define CFP_CLIPPRECISION   CFP_BASE+10
  80. #define CFP_QUALITY         CFP_BASE+11
  81. #define CFP_PITCH           CFP_BASE+12
  82. #define CFP_FAMILY          CFP_BASE+13
  83. #define CFP_FACENAME        CFP_BASE+14
  84.  
  85. #define CFD_BASE        220
  86. #define CFD_HEIGHT          CFD_BASE+0
  87. #define CFD_WIDTH           CFD_BASE+1
  88. #define CFD_ESCAPEMENT      CFD_BASE+2
  89. #define CFD_ORIENTATION     CFD_BASE+3
  90. #define CFD_WEIGHT          CFD_BASE+4
  91. #define CFD_ITALIC          CFD_BASE+5
  92. #define CFD_UNDERLINE       CFD_BASE+6
  93. #define CFD_STRIKEOUT       CFD_BASE+7
  94. #define CFD_CHARSET         CFD_BASE+8
  95. #define CFD_OUTPUTPRECISION CFD_BASE+9
  96. #define CFD_CLIPPRECISION   CFD_BASE+10
  97. #define CFD_QUALITY         CFD_BASE+11
  98. #define CFD_PITCHANDFAMILY  CFD_BASE+12
  99. #define CFD_FACENAME        CFD_BASE+13
  100.  
  101. #define CFD_DEFAULT         CFD_BASE+14
  102.  
  103. #define TMD_BASE        240
  104. #define TMD_HEIGHT          TMD_BASE+0
  105. #define TMD_ASCENT          TMD_BASE+1
  106. #define TMD_DESCENT         TMD_BASE+2
  107. #define TMD_INTERNAL        TMD_BASE+3
  108. #define TMD_EXTERNAL        TMD_BASE+4
  109. #define TMD_AVEWIDTH        TMD_BASE+5
  110. #define TMD_MAXWIDTH        TMD_BASE+6
  111. #define TMD_WEIGHT          TMD_BASE+7
  112. #define TMD_ITALIC          TMD_BASE+8
  113. #define TMD_UNDERLINE       TMD_BASE+9
  114. #define TMD_STRUCKOUT       TMD_BASE+10
  115. #define TMD_FIRSTCHAR       TMD_BASE+11
  116. #define TMD_LASTCHAR        TMD_BASE+12
  117. #define TMD_DEFAULTCHAR     TMD_BASE+13
  118. #define TMD_BREAKCHAR       TMD_BASE+14
  119. #define TMD_PITCHANDFAMILY  TMD_BASE+15
  120. #define TMD_CHARSET         TMD_BASE+16
  121. #define TMD_OVERHANG        TMD_BASE+17
  122. #define TMD_DIGITIZEDASPECTX TMD_BASE+18
  123. #define TMD_DIGITIZEDASPECTY TMD_BASE+19
  124.  
  125. #define TMD_SET             TMD_BASE+20
  126.  
  127.  
  128. #define ED_BASE         260
  129. #define ED_PREV             ED_BASE+0
  130. #define ED_NEXT             ED_BASE+1
  131. #define ED_TYPE             ED_BASE+2
  132. #define ED_SET              ED_BASE+3
  133. #define ED_HEX              ED_BASE+4
  134. #define ED_SAMPLE           ED_BASE+5
  135.