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.

58 lines
1.5 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corp., 1991 **/
  4. /**********************************************************************/
  5. /*
  6. bltbmctl
  7. BIT_MAP_CONTROL definition
  8. FILE HISTORY
  9. JonN 13-Aug-1992 Created
  10. */
  11. #ifndef _BLTBMCTL_HXX_
  12. #define _BLTBMCTL_HXX_
  13. /*************************************************************************
  14. NAME: BIT_MAP_CONTROL
  15. SYNOPSIS: Control for static bitmap
  16. INTERFACE: BIT_MAP_CONTROL()
  17. powin - pointer to owner window
  18. cid - ID of control
  19. bmid - the ordinal of the bitmap
  20. PARENT: CUSTOM_CONTROL, CONTROL_WINDOW
  21. HISTORY:
  22. JonN 11-Aug-1992 Created (templated from ICON_CONTROL)
  23. **************************************************************************/
  24. DLL_CLASS BIT_MAP_CONTROL : public CONTROL_WINDOW, public CUSTOM_CONTROL
  25. {
  26. private:
  27. DISPLAY_MAP _dmap;
  28. protected:
  29. virtual BOOL OnPaintReq();
  30. public:
  31. BIT_MAP_CONTROL( OWNER_WINDOW * powin, CID cid,
  32. BMID bmid );
  33. BIT_MAP_CONTROL( OWNER_WINDOW * powin, CID cid,
  34. XYPOINT xy, XYDIMENSION dxy,
  35. BMID bmid,
  36. ULONG flStyle = WS_CHILD,
  37. const TCHAR * pszClassName = CW_CLASS_STATIC );
  38. };
  39. #endif // _BLTBMCTL_HXX_ - end of file