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]
 WMDIFrame              MDI frame ("shell") window class
 ----------------------------------------------------------------------------
 WMDIFrame
 MDI frame ("shell") window class
 ----------------------------------------------------------------------------
 
 Properties
 ActiveChild    The currently active child, or NIL
 FrameMenu      The frame's own menu, or NIL
 Menu           The current menu, or NIL
 WndProc        A code block to handle messages (WM_*) for the window
 WndStyle       The control's usual style (a combination of WS_* values)
 
 Methods
 WMDIFrame:AddWindow()      For internal use.
 WMDIFrame:ArrangeIcons()   Arrange any iconised windows neatly
 WMDIFrame:Cascade()        Cascade (overlap) the child windows
 WMDIFrame:CloseAll()       Request each child close itself
 WMDIFrame:Create()         Create the frame window
 WMDIFrame:CreateChild()    Create a new child window
 WMDIFrame:DefaultMessage() Default handler for messages
 WMDIFrame:DelWindow()      For internal use.
 WMDIFrame:DestroyChild()   Destroy a specified child
 WMDIFrame:IconizeAll()     Minimise all children
 WMDIFrame:Init()           Construct a frame window object
 WMDIFrame:MaximizeChild()  Maximise a child
 WMDIFrame:NextChild()      Activate the next child
 WMDIFrame:OnCommand()      Handles menu, toolbar & accelerator messages
 WMDIFrame:PrevChild()      Activate the previous child
 WMDIFrame:RegisterClass()  Register a window class, if needed
 WMDIFrame:RestoreChild()   Restore a child to its saved size
 WMDIFrame:SetMenu()        Set the window's menu
 WMDIFrame:Tile()           Tile the child windows
 
 Inherits From
 WFrameWindow
 
 Inherited By
 Nothing.
 
 Description
 This class is suitable for the top-level frame (also called
 "shell" or "container" or "decorated") window of an MDI
 application, i.e. a non-trivial window with things like a
 menu, toolbar, status bar, etc.
 
 Note: an object of this class displays its menu (if it has
 one) only if no MDI child with a menu has the input focus.  If
 the active child has a menu, the child's menu is displayed by
 the MDI frame.  However, the frame displays any toolbar and/or
 status bar it has, not those of any child.  Children are
 responsible for displaying their own toolbar and/or status
 bar.  This may seem odd, but it is standard behaviour for MDI.
 
 The MDI frame is the parent of the MDI client, and the MDI
 client is the parent of any MDI children.  Further information
 can be found in the file SOURCE\OO\CLASSES\MDIFRAME.PRG.
 
 Frame windows are often divided into several areas, each being
 represented by one or more objects.  Any part left after
 taking into account the "decorations" (status bar, toolbar,
 etc.) is covered by the MDI client.  Consequently, if you want
 to display anything in the main part of the frame you actually
 have to display it using the MDI client.  (MDI children are
 displayed in this manner.)
 
 Unless you alter it in a sub-class, this class puts any
 toolbar just under its menu (if any), and any status bar at
 the very bottom.
 
 This class automatically re-sizes the windows described above,
 and also handles changes such as adding a window or changing the
 visibility of the status bar and/or toolbar (i.e. hiding/showing them).
 
 Example
 
 See Also  (press Enter)

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