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]
 WWindow                A simple window class
 ----------------------------------------------------------------------------
 WWindow
 A simple window class
 ----------------------------------------------------------------------------
 
 Properties
 ClassStyle     The window's class style (a combination of CS_* values)
 DragDrop       A logical controlling whether the window allows drag and drop
 Messages       An array of the messages (WM_*) handled by the window
 WndProc        A code block to handle messages (WM_*) for the window
 WndStyle       The control's usual style (a combination of WS_* values)
 
 Methods
 WWindow:AddItem()     Add a child window
 WWindow:AddWindow()   For internal use.
 WWindow:Create()      Create a window
 WWindow:DefaultMessage()   Default handler for messages
 WWindow:DelItem()     Remove a child window
 WWindow:DelWindow()   For internal use.
 WWindow:DropFiles()   Handles files dragged and dropped on the window
 WWindow:HandleMessage()    Handle/dispatch messages
 WWindow:Init()        Construct a window object
 WWindow:Move()        Re-position and/or change size of a window
 WWindow:MsgBox()      Convenient MessageBox() wrapper
 WWindow:OnChar()      Handles keyboard characters
 WWindow:OnClose()     Handles requests to close the window
 WWindow:OnCommand()   Handles menu, toolbar & accelerator messages
 WWindow:OnCreate()    Handles window creation messages
 WWindow:OnCtlColor()  Handles colour selection for controls
 WWindow:OnDestroy()   Pre-destruction of a window
 WWindow:OnDrawItem()  Requests to draw an owner-draw item
 WWindow:OnDropFiles() Drag and drop file messages
 WWindow:OnHScroll()   Horizontal scroll bar messages
 WWindow:OnInitDialog()     Dialog initialisation message
 WWindow:OnKeyDown()   Keyboard key press messages
 WWindow:OnKillFocus() Input focus lost messages
 WWindow:OnLDblClick() Mouse left button double-click
 WWindow:OnLBtnDown()  Mouse left button click
 WWindow:OnLBtnUp()    Mouse left button release
 WWindow:OnMDIActivate()    Activation of an MDI window
 WWindow:OnMenuSelect()     Selection (highlighting) of a menu item
 WWindow:OnMouseMove() Notification of mouse movement
 WWindow:OnNCDestroy() Post-destruction of a window
 WWindow:OnPaint()     Request to draw a window
 WWindow:OnQueryEndSession()     Windows shut-down request
 WWindow:OnRDblClick() Mouse right button double-click
 WWindow:OnRBtnDown()  Mouse right button click
 WWindow:OnRBtnUp()    Mouse right button release
 WWindow:OnSetFocus()  Input focus gained message
 WWindow:OnSize()      Size of window set/changed
 WWindow:OnSysCommand() A System command request
 WWindow:OnTimer()     Timer message
 WWindow:OnVScroll()   Vertical scroll bar message
 WWindow:Paint()       Draw/re-draw a window
 WWindow:RegisterClass()    Register a window class, if needed
 WWindow:SeriousError()     Handle a serious error
 
 Inherits From
 WWindowBase
 
 Inherited By
 WFrameWindow
 WMDIClient
 WStatusBar
 WToolbar
 WToolbarTip
 
 Description
 This class is suitable for simple windows (without menu,
 toolbar, status bar, etc.), which are not controls.  For more
 complex windows, see WFrameWindow and its sub-classes.  For
 controls, see WControlWindow and its sub-classes.
 
 Many of the methods are simply "stubs" which return NIL, to
 allow them to be easily defined in a sub-class.
 
 Example
 
 See Also  (press Enter)

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