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.

127 lines
2.1 KiB

  1. #if !defined( _EDIT_OBJECT_ )
  2. #define _EDIT_OBJECT_
  3. DECLARE_CLASS( EDIT_OBJECT );
  4. class EDIT_OBJECT {
  5. public:
  6. NONVIRTUAL
  7. EDIT_OBJECT(
  8. ) {};
  9. VIRTUAL
  10. ~EDIT_OBJECT(
  11. );
  12. VIRTUAL
  13. VOID
  14. SetBuf(
  15. IN HWND WindowHandle,
  16. IN OUT PVOID Buffer,
  17. IN ULONG Size DEFAULT 0
  18. );
  19. VIRTUAL
  20. VOID
  21. Paint(
  22. IN HDC DeviceContext,
  23. IN RECT InvalidRect,
  24. IN HWND WindowHandle
  25. );
  26. VIRTUAL
  27. VOID
  28. ClientSize(
  29. IN INT Height,
  30. IN INT Width
  31. );
  32. VIRTUAL
  33. VOID
  34. ScrollUp(
  35. IN HWND WindowHandle
  36. );
  37. VIRTUAL
  38. VOID
  39. ScrollDown(
  40. IN HWND WindowHandle
  41. );
  42. VIRTUAL
  43. VOID
  44. PageUp(
  45. IN HWND WindowHandle
  46. );
  47. VIRTUAL
  48. VOID
  49. PageDown(
  50. IN HWND WindowHandle
  51. );
  52. VIRTUAL
  53. VOID
  54. ThumbPosition(
  55. IN HWND WindowHandle,
  56. IN INT NewThumbPosition
  57. );
  58. VIRTUAL
  59. VOID
  60. Click(
  61. IN HWND WindowHandle,
  62. IN INT Xcoordinate,
  63. IN INT Ycoordinate
  64. );
  65. VIRTUAL
  66. VOID
  67. KeyUp(
  68. IN HWND WindowHandle
  69. );
  70. VIRTUAL
  71. VOID
  72. KeyDown(
  73. IN HWND WindowHandle
  74. );
  75. VIRTUAL
  76. VOID
  77. KeyLeft(
  78. IN HWND WindowHandle
  79. );
  80. VIRTUAL
  81. VOID
  82. KeyRight(
  83. IN HWND WindowHandle
  84. );
  85. VIRTUAL
  86. VOID
  87. Character(
  88. IN HWND WindowHandle,
  89. IN CHAR Char
  90. );
  91. VIRTUAL
  92. VOID
  93. SetFocus(
  94. IN HWND WindowHandle
  95. );
  96. VIRTUAL
  97. VOID
  98. KillFocus(
  99. IN HWND WindowHandle
  100. );
  101. };
  102. #endif