Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - Norton Guide http://www.X-Hacker.org [^^Up^^] [Menu] [About The Guide]
 WButtonBitmap          Bitmapped button control class
 ----------------------------------------------------------------------------
 WButtonBitmap
 Bitmapped button control class
 ----------------------------------------------------------------------------
 
 Properties
 oHelp          Contains a help object.
 WndClass       The name of the control's window class ("button")
 WndStyle       The control's usual style (a combination of WS_* values)
 
 Methods
 WButtonBitmap:Axit()        Destroy a bitmapped button control object
 WButtonBitmap:Init()        Construct a bitmapped button control object
 WButtonBitmap:Paint()       Draw/re-draw the button
 
 Inherits From
 WControlWindow
 
 Inherited By
 Nothing.
 
 Description
 This is the class for button controls displaying one or more
 bitmaps.  A bitmap resource is needed, which must contain an
 image for the default (up) state and an image for any other
 states (down, grayed, down & grayed) you want.  These extra
 images must be to the right of the up image, in the final
 order: up image, down image, gray image, gray down image.  All
 must have the same width and height.  Each is stretched/shrunk
 as necessary to fit the actual area of the button.
 
 As this is implemented using an owner-drawn button, to put
 this control in a dialog you should use a button with the
 BS_OWNERDRAW style.
 
 Because Clip-4-Win uses "smart dialogs with dumb controls",
 few properties and few methods are required in this class or
 most sub-classes.  (The WDialog class provides the logic,
 rather than spreading it across the controls.)
 
 Example
 
 See Also  (press Enter)

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson