Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

247 lines
6.4 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corp., 1991 **/
  4. /**********************************************************************/
  5. /*
  6. blt.hxx
  7. Master includefile for the BLT class library
  8. This file contains all definitions needed for clients of the
  9. BLT window/app class hierarchy. It assumes that lmui.hxx has
  10. already been included.
  11. To use this file, define the manifests described below according to
  12. your interests. Then, include this file, and sit back and enjoy--
  13. all dependencies within the file will be taken care of.
  14. The available manifests are:
  15. INCL_BLT_WINDOW includes WINDOW and OWNER_WINDOW
  16. INCL_BLT_DIALOG includes DIALOG_WINDOW
  17. INCL_BLT_CLIENT includes CLIENT_WINDOW, etc.
  18. INCL_BLT_CONTROL includes CONTROL_WINDOW hierarchy
  19. INCL_BLT_MISC includes DEVICE_CONTEXT and STRING_ATOM
  20. hierarchies, and PROC_INSTANCE,
  21. BITMAP, DISPLAY_MAP, TABSTOPS,
  22. and FONT classes
  23. INCL_BLT_MSGPOPUP includes the MsgPopup functions
  24. INCL_BLT_APP includes the application-support classes
  25. Only standalone applications should
  26. use this manifest.
  27. INCL_BLT_CC Include the CUSTOM_CONTROL hierarchy
  28. INCL_BLT_SPIN_GROUP Include the SPIN_GROUP hierarchy
  29. INCL_BLT_SPIN include SPIN BUTTON object itself
  30. INCL_BLT_TIME_DATE Time and date custom controls
  31. INCL_BLT_SETCONTROL The 2-listbox "set" control
  32. INCL_BLT_ORDERGROUP listbox with up and down buttons
  33. INCL_BLT_MENU includes POPUP_MENU and SYSTEM_MENU.
  34. FILE HISTORY:
  35. rustanl 20-Nov-1990 Created
  36. rustanl 21-Feb-1991 Added bltlb.hxx
  37. beng 01-Apr-1991 Added bltapp.hxx
  38. terryk 08-Apr-1991 Added bltrc.hxx and bltfunc.hxx
  39. gregj 01-May-1991 Added WM_GUILTT message
  40. beng 07-May-1991 Added all manner of client-wnd support
  41. beng 14-May-1991 Broke apart for faster mods of blt.lib
  42. (so that touching one includefile no longer
  43. necessitates recompiling every module)
  44. terryk 15-May-1991 Add the CUSTOM_CONTROL and SPIN_GROUP
  45. hierarchy
  46. beng 09-Jul-1991 Added menu-accel support to CLIENT
  47. terryk 10-Jul-1991 Include Spin button object
  48. rustanl 12-Jul-1991 Added bltmitem.hxx
  49. rustanl 07-Aug-1991 Added bltcolh.hxx
  50. beng 17-Sep-1991 Added bltedit.hxx, bltbutn.hxx
  51. beng 05-Oct-1991 Corrected custom controls
  52. terryk 02-Apr-1992 Added bltorder.hxx
  53. KeithMo 13-Oct-1992 Added bltmenu.hxx.
  54. KeithMo 28-Oct-1992 Added bltbl.hxx.
  55. */
  56. #ifdef _BLT_HXX_
  57. #error "BLT.hxx included more than once"
  58. #else
  59. #define _BLT_HXX_
  60. // Define some global stuff -----------------------------------------------
  61. #include "bltglob.hxx"
  62. // Take care of dependencies ----------------------------------------------
  63. #ifdef INCL_BLT_SETCONTROL
  64. # define INCL_BLT_CC
  65. #endif
  66. #ifdef INCL_BLT_TIME_DATE
  67. # define INCL_BLT_SPIN
  68. # define INCL_BLT_CC
  69. #endif
  70. #ifdef INCL_BLT_SPIN
  71. # define INCL_BLT_SPIN_GROUP
  72. #endif
  73. #ifdef INCL_BLT_SPIN_GROUP
  74. # define INCL_BLT_DLIST
  75. # define INCL_BLT_CC
  76. # define INCL_BLT_TIMER
  77. #endif
  78. #ifdef INCL_BLT_SETCONTROL
  79. # define INCL_BLT_CC
  80. #endif
  81. #ifdef INCL_BLT_TIMER
  82. # define INCL_BLT_SLIST
  83. #endif
  84. #ifdef INCL_BLT_CC
  85. # define INCL_BLT_CONTROL
  86. # define INCL_BLT_CLIENT
  87. #endif
  88. #ifdef INCL_BLT_MSGPOPUP
  89. # define INCL_BLT_WINDOW
  90. #endif
  91. #ifdef INCL_BLT_CLIENT
  92. # define INCL_BLT_WINDOW
  93. # define INCL_BLT_EVENT
  94. #endif
  95. #ifdef INCL_BLT_DIALOG
  96. # define INCL_BLT_MISC
  97. # define INCL_BLT_WINDOW
  98. #endif
  99. #ifdef INCL_BLT_CONTROL
  100. # define INCL_BLT_WINDOW
  101. #endif
  102. #ifdef INCL_BLT_CONTROL
  103. # define INCL_BLT_MISC
  104. #endif
  105. #ifdef INCL_BLT_MISC
  106. # define INCL_BLT_WINDOW
  107. # define INCL_BLT_ARRAY
  108. #endif
  109. // Include the files ------------------------------------------------------
  110. // Always include BLTcons.h and UIAssert.hxx
  111. #include "bltrc.h"
  112. #include "bltcons.h"
  113. #include "bltfunc.hxx"
  114. #include "uiassert.hxx"
  115. // Always include QueryInst & BLTRegister/Deregister
  116. #include "bltinit.hxx"
  117. #ifdef INCL_BLT_ARRAY
  118. # include "array.hxx"
  119. #endif
  120. #ifdef INCL_BLT_SLIST
  121. # include "slist.hxx"
  122. #endif
  123. #ifdef INCL_BLT_DLIST
  124. # include "dlist.hxx"
  125. #endif
  126. #ifdef INCL_BLT_WINDOW
  127. # include "bltwin.hxx"
  128. #endif
  129. #ifdef INCL_BLT_CLIENT
  130. # include "bltclwin.hxx"
  131. # include "bltaccel.hxx"
  132. # include "bltmitem.hxx"
  133. #endif
  134. #ifdef INCL_BLT_EVENT
  135. # include "bltevent.hxx"
  136. #endif
  137. #ifdef INCL_BLT_TIMER
  138. # include "blttm.hxx"
  139. #endif
  140. #ifdef INCL_BLT_MSGPOPUP
  141. # include "bltmsgp.hxx"
  142. #endif
  143. #ifdef INCL_BLT_MISC
  144. # include "bltbitmp.hxx"
  145. # include "bltmisc.hxx"
  146. # include "bltrect.hxx"
  147. # include "bltdc.hxx"
  148. # include "bltatom.hxx"
  149. # include "bltcurs.hxx"
  150. # include "bltfont.hxx"
  151. #endif
  152. #ifdef INCL_BLT_DIALOG
  153. # include "bltdlg.hxx"
  154. #endif
  155. #ifdef INCL_BLT_CONTROL
  156. # include "bltctlvl.hxx" // class CONTROL_VALUE
  157. # include "bltgroup.hxx" // class GROUP, class RADIO_GROUP, class MAGIC_GROUP
  158. # include "bltctrl.hxx"
  159. # include "bltbutn.hxx"
  160. # include "bltedit.hxx"
  161. # include "bltlc.hxx"
  162. # include "bltlb.hxx"
  163. #endif
  164. #ifdef INCL_BLT_APP
  165. # include "bltapp.hxx"
  166. #endif
  167. #ifdef INCL_BLT_CC
  168. # include "bltdisph.hxx" // delete it if we don't need dispatcher
  169. # include "bltcc.hxx"
  170. # include "bltcolh.hxx"
  171. #endif
  172. #ifdef INCL_BLT_SPIN_GROUP
  173. # include "bltsi.hxx" // SPIN_ITEM class
  174. # include "bltarrow.hxx" // ARROW object within the spin button
  175. # include "bltsb.hxx" // SPIN_GROUP class
  176. # include "bltssn.hxx" // SPIN_SLE_NUM class
  177. # include "bltsss.hxx" // SPIN_SLE_STR class
  178. # include "bltsslt.hxx" // SPIN_SLT_SEPARATOR class
  179. # include "bltssnv.hxx" // SPIN_SLE_NUM_VALID
  180. #endif
  181. #ifdef INCL_BLT_SPIN
  182. # include "bltspobj.hxx"
  183. #endif
  184. #ifdef INCL_BLT_TIME_DATE
  185. # include "blttd.hxx"
  186. #endif
  187. #ifdef INCL_BLT_SETCONTROL
  188. # include "bltsetbx.hxx"
  189. #endif
  190. #ifdef INCL_BLT_ORDERGROUP
  191. # include "bltorder.hxx"
  192. #endif
  193. #ifdef INCL_BLT_MENU
  194. # include "bltmenu.hxx"
  195. #endif
  196. #endif // _BLT_HXX_ - end of file