home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / AutoPC / apcsdk10.exe / data1.cab / Emulation_Include_Files / asdisp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-13  |  2.4 KB  |  67 lines

  1. //--------------------------------------------------------------------------------------------
  2. //
  3. //    Copyright (c) Microsoft Corporation, 1997 All Rights Reserved
  4. //
  5. //    Description:
  6. //        AutoPC Simple Form and Control Interfaces
  7. //
  8. //    History: 
  9. //        Umesh Madan    umeshm@microsoft.com    02/28/97 Created
  10. //
  11. //--------------------------------------------------------------------------------------------
  12.  
  13. #ifndef _ASDISP_H
  14. #define _ASDISP_H
  15. //--------------------------------------------------------------------------------------------
  16. //
  17. // DISPIDs
  18. //
  19. //--------------------------------------------------------------------------------------------
  20. //
  21. // Property DISPIDs common to all controls and forms
  22. //
  23. //
  24. #define ASFC_DISPID_FIRST            1000
  25. //
  26. // Identification properties
  27. //
  28. #define ASFC_DISPID_ID              1000            // the control's ID
  29. #define ASFC_DISPID_NAME            1001            // the control's name
  30. //
  31. // Dimensions
  32. //
  33. #define ASFC_DISPID_LEFT            1005            // dimension: left
  34. #define ASFC_DISPID_TOP                1006            // dimension: top
  35. #define ASFC_DISPID_WIDTH            1007            // dimension: width
  36. #define ASFC_DISPID_HEIGHT            1008            // dimension: height
  37. //
  38. // Standard boolean properties
  39. //
  40. #define ASFC_DISPID_VISIBLE            1010            // visibility
  41. #define ASFC_DISPID_ENABLE            1011            // enabled or disabled
  42. #define ASFC_DISPID_TABSTOP            1012            // tab stop
  43. #define ASFC_DISPID_HASUI            1013            // control has UI?
  44. #define ASFC_DISPID_BORDER            1014            // control has border?
  45. #define ASFC_DISPID_AUTOREDRAW        1015            // control auto-redraws itself, when props change
  46. #define ASFC_DISPID_OPAQUE            1016            // is the control drawn opaque?
  47. //
  48. // Standard Graphics properties
  49. //
  50. #define ASFC_DISPID_FORECOLOR        1051            // forecolor used in drawing
  51. #define ASFC_DISPID_BACKCOLOR        1052            // backcolor used to paint background
  52. #define ASFC_DISPID_FONT            1053            // font used to draw text
  53. #define ASFC_DISPID_AUTOSCALEFONT   1054
  54. //
  55. // Standard text properties
  56. //
  57. #define ASFC_DISPID_CAPTION            1100            // the control's caption
  58. //
  59. // Standard pointer properties
  60. //
  61. #define ASFC_DISPID_CLASSMSGSINK    1120            // the control's class msg sink
  62. #define ASFC_DISPID_PARENT          1121            // the control's parent
  63. #define ASFC_DISPID_EVENTSINK       1122            // the control's event sink
  64. #define ASFC_DISPID_USERDATA        1123            // any user defined data
  65.  
  66. #endif
  67.