
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
[^^Up^^]
[Menu] [About The Guide]
WControlWindow Control window base class
----------------------------------------------------------------------------
WControlWindow
Control window base class
----------------------------------------------------------------------------
Properties
Valid A logical indicating whether the control's state is valid
WndClass The name of the control's window class
Methods
WControlWindow:Create() Create a window
WControlWindow:Init() Construct a window base object
WControlWindow:OnDestroy() Pre-destruction of a window
WControlWindow:OnDrawItem() Requests to draw an owner-draw item
WControlWindow:OnInitDialog() Perform run-time initialisation of a control
WControlWindow:OnLDblClick() Mouse left button double-click
WControlWindow:OnLBtnDown() Mouse left button click
WControlWindow:OnLBtnUp() Mouse left button release
WControlWindow:OnMouseMove() Notification of mouse movement
Inherits From
WWindowBase
Inherited By
WArrowButton
WBitmap
WBitmapFile
WBListBox
WButtonBitmap
WCheckBox
WComboBox
WEdit
WGroupBox
WListBox
WProgressBar
WPushButton
WRadioButton
WScrollBar
WSpinButton
WTextControl
WVBXControl
Description
This class is the abstract base class for control window
classes. Controls, also called "child controls", include
buttons, check boxes, combo boxes, edit controls, etc.
commonly found in dialogs. This is an abstract class:
descendants must provide various properties/methods to be
usable. So, using the Init() method, other than in a
suitable sub-class, will cause an error.
The only property that must be provided by a sub-class is
WndClass (the name of the window class), although WndStyle
(the window style) is normally required as well.
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.)
The OnXXX() methods are mainly "stubs" which return NIL, to
allow them to be easily defined in a sub-class, should you
need them.
Example
See Also (press Enter)
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson