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]
 WBitmapStretch         Auto-sized resource bitmap control class
 ----------------------------------------------------------------------------
 WBitmapStretch
 Auto-sized resource bitmap control class
 ----------------------------------------------------------------------------
 
 Properties
 None.
 
 Methods
 WBitmapStretch:Paint()       Draw/re-draw the control
 
 Inherits From
 WBitmap
 
 Inherited By
 Nothing.
 
 Description
 This is the class for automatically-sized bitmap controls
 where the bitmap is a resource.  Whenever Windows requests
 that the control be painted (drawn), the bitmap is
 stretched/shrunk to fit the control's current client area.
 
 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
 @ Id IDD_BITMAP  Bitmap  ResId IDB_BITMAP  Stretch
 
 See Also  (press Enter)

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