home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / BLANDMDI.PAK / WIN16EXT.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  2.0 KB  |  67 lines

  1. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  2. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  3. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  4. // PARTICULAR PURPOSE.
  5. //
  6. // Copyright (C) 1993-1995  Microsoft Corporation.  All Rights Reserved.
  7. //
  8. // PURPOSE: Defines additions to windows.h included in WIN32, but not
  9. //          in win16.
  10.  
  11. #include <ver.h>
  12.  
  13. // Windows NT defines APIENTRY, but 3.x doesn't
  14. #define APIENTRY far pascal
  15.  
  16. // Windows 3.x uses a FARPROC for dialogs
  17. #define DLGPROC FARPROC
  18.  
  19. #if !defined(WS_EX_MDICHILD)
  20. #define WS_EX_MDICHILD          0x00000040L
  21. #endif  
  22. #if !defined(WS_EX_TOOLWINDOW)
  23. #define WS_EX_TOOLWINDOW        0x00000080L
  24. #endif  
  25. #if !defined(WS_EX_WINDOWEDGE)
  26. #define WS_EX_WINDOWEDGE        0x00000100L
  27. #endif  
  28. #if !defined(WS_EX_CLIENTEDGE)
  29. #define WS_EX_CLIENTEDGE        0x00000200L
  30. #endif  
  31. #if !defined(WS_EX_CONTEXTHELP)
  32. #define WS_EX_CONTEXTHELP       0x00000400L
  33. #endif  
  34. #if !defined(WS_EX_RIGHT)
  35. #define WS_EX_RIGHT             0x00001000L
  36. #endif  
  37. #if !defined(WS_EX_LEFT)
  38. #define WS_EX_LEFT              0x00000000L
  39. #endif  
  40. #if !defined(WS_EX_RTLREADING)
  41. #define WS_EX_RTLREADING        0x00002000L
  42. #endif  
  43. #if !defined(WS_EX_LTRREADING)
  44. #define WS_EX_LTRREADING        0x00000000L
  45. #endif  
  46. #if !defined(WS_EX_LEFTSCROLLBAR)
  47. #define WS_EX_LEFTSCROLLBAR     0x00004000L
  48. #endif  
  49. #if !defined(WS_EX_RIGHTSCROLLBAR)
  50. #define WS_EX_RIGHTSCROLLBAR    0x00000000L
  51. #endif  
  52. #if !defined(WS_EX_CONTROLPARENT)
  53. #define WS_EX_CONTROLPARENT     0x00010000L
  54. #endif  
  55. #if !defined(WS_EX_STATICEDGE)
  56. #define WS_EX_STATICEDGE        0x00020000L
  57. #endif  
  58. #if !defined(WS_EX_APPWINDOW)
  59. #define WS_EX_APPWINDOW         0x00040000L
  60. #endif  
  61. #if !defined(WS_EX_OVERLAPPEDWINDOW)
  62. #define WS_EX_OVERLAPPEDWINDOW  (WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE)
  63. #endif  
  64. #if !defined(WS_EX_PALETTEWINDOW) && defined(WS_EX_TOPMOST)
  65. #define WS_EX_PALETTEWINDOW     (WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST)
  66. #endif  
  67.