
ChildFrame

ChildFrame Methods
| ChildFrame() | Constructor for the ChildFrame class |
| Activate() | Makes this child frame be the active child within the parent frame |
| Minimize() | Virtual method to programmatically minimize the child frame within the Parent |
| Maximize() | Virtual method to programmatically maximize the child frame within the Parent |
| Restore() | Virtual method to programmatically restore the child frame to its "normal" size and position |
Derived Classes
None
See Also
Class Hierarchy, ParentFrame, Control
public method ChildFrame(Window Parent, int XPos, int YPos, int Width, int Height, string Title)
Parameters
Parent
Parent window for the child frame (must be a ParentFrame object)
XPos
One based X position of window relative to parent
YPos
One based Y position of window relative to parent
Width
Initial width of the child frame window in pixels
Height
Initial height of the child frame window in pixels
Title
Title for the child frame window
Return Value
None
Description
Constructor for the ChildFrame class. The parent must be a ParentFrame object.
ChildFrame Class
public method Activate()
Parameters
None
Return Value
None
Description
This method activates this child frame within the parent frame, making it accessible for user input. This is performed automatically when the user clicks on a child window, but this method also allows it to be activated manually.
ChildFrame Class
public virtual method Minimize()
Parameters
None
Return Value
None
Description
This virtual method minimizes the child frame window within the parent frame.
ChildFrame Class
public virtual method Maximize()
Parameters
None
Return Value
None
Description
This virtual method maximizes the child frame window within the parent frame. This results in the child frame taking up the entire "client" area of the parent frame.
ChildFrame Class
public virtual method Restore()
Parameters
None
Return Value
None
Description
This virtual method restores the child frame window within the parent frame to its "natural state" prior to be being minimized and/or maximized.
ChildFrame Class