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.

62 lines
1.2 KiB

  1. #if !defined( _ATTRIBUTE_LIST_EDIT_ )
  2. #define _ATTRIBUTE_LIST_EDIT_
  3. #include "vscroll.hxx"
  4. DECLARE_CLASS( ATTR_LIST_EDIT );
  5. DECLARE_CLASS( LOG_IO_DP_DRIVE );
  6. class ATTR_LIST_EDIT : public VERTICAL_TEXT_SCROLL {
  7. public:
  8. NONVIRTUAL
  9. ATTR_LIST_EDIT(
  10. ) { _drive = NULL; };
  11. NONVIRTUAL
  12. BOOLEAN
  13. Initialize(
  14. IN HWND WindowHandle,
  15. IN INT ClientHeight,
  16. IN INT ClientWidth,
  17. IN PLOG_IO_DP_DRIVE Drive
  18. );
  19. VIRTUAL
  20. VOID
  21. SetBuf(
  22. IN HWND WindowHandle,
  23. IN OUT PVOID Buffer,
  24. IN ULONG Size DEFAULT 0
  25. );
  26. VIRTUAL
  27. VOID
  28. Paint(
  29. IN HDC DeviceContext,
  30. IN RECT InvalidRect,
  31. IN HWND WindowHandle
  32. );
  33. VIRTUAL
  34. VOID
  35. KeyUp(
  36. IN HWND WindowHandle
  37. );
  38. VIRTUAL
  39. VOID
  40. KeyDown(
  41. IN HWND WindowHandle
  42. );
  43. private:
  44. PVOID _buffer;
  45. ULONG _size;
  46. PLOG_IO_DP_DRIVE _drive;
  47. };
  48. #endif