COXBitmapbutton class

The COXBitmapButton class is derived from the MFC class CButton. It is an easy way to use bitmap buttons for which you only have to supply one bitmap. For a normal owner drawn button you have to supply 4 different bitmaps (up, down, focused and disabled). Here you have to supply only one bitmap. The bitmap and the button itself are drawn in the correct state for you. A similar look to the toolbar buttons in Internet Explorer 3.0 can be obtained.

Features:
•	COXBitmapButton is derived from the standard CButton 
•	Supply only one bitmap, the bitmaps for the other states will be computed dynamically 
•	Supports a special ‘track look’ mode (cf. Internet Explorer 3.0 
•	Supports a special ‘hyper look’ mode (cf. Hyperlink in HTML page or Coreldraw 7.0 Startup dialog) 
•	Support to show text along with the image (like a normal button) 
•	Supply a bitmap with a transparent color or just supply an icon 
•	Bitmap and text alignment 
•	Tooltip support 
•	Pseudo disable mode support a different mouse cursor when the button is disabled 
•	Support for different mouse cursors 
•	Easy to use in your dialog (just subclass a button control) 
•	All standard notification messages are available. 
•	Now supports 256-color bitmaps