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.

66 lines
1.7 KiB

  1. /**********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1991 **/
  4. /**********************************************************************/
  5. /*
  6. bltcolh.hxx
  7. Listbox column header control, class declaration
  8. The listbox column header control goes above a listbox where it
  9. tells the contents of each listbox column.
  10. FILE HISTORY:
  11. rustanl 22-Jul-1991 Created
  12. rustanl 07-Aug-1991 Added to BLT
  13. */
  14. #ifndef _BLTCOLH_HXX_
  15. #define _BLTCOLH_HXX_
  16. #include "bltedit.hxx"
  17. #include "bltcc.hxx"
  18. /*************************************************************************
  19. NAME: LB_COLUMN_HEADER
  20. SYNOPSIS: Listbox column header control
  21. INTERFACE: LB_COLUMN_HEADER() - constructor
  22. QueryHeight()
  23. PARENT: SLT, CUSTOM_CONTROL
  24. CAVEATS: This class is not yet fully implemented.
  25. NOTES: In order to make good use of this class, subclass
  26. it replacing the virtual OnPaintReq method. To
  27. easily satisfy the paint request, make use of
  28. the DISPLAY_TABLE class, usually in conjunction
  29. with the METALLIC_STR_DTE class.
  30. HISTORY:
  31. rustanl 22-Jul-1991 Created initial implementation
  32. congpay 8-Jan-1993 add QueryHeight().
  33. **************************************************************************/
  34. DLL_CLASS LB_COLUMN_HEADER : public SLT, public CUSTOM_CONTROL
  35. {
  36. protected:
  37. virtual BOOL Dispatch( const EVENT & e, ULONG * pnRes );
  38. public:
  39. LB_COLUMN_HEADER( OWNER_WINDOW * powin, CID cid,
  40. XYPOINT xy, XYDIMENSION dxy );
  41. INT QueryHeight();
  42. }; // class LB_COLUMN_HEADER
  43. #endif // _BLTCOLH_HXX_