GroupBox
The GroupBox is a labeled box surrounding a group of fields on a screen for visible grouping of like items. One of the most common uses of the GroupBox is to group RadioButtons together so they can determine their "siblings" by having a common parent. A GroupBox is actually a subclass of the StaticRect class.
Window Structure Details
- int x,y,w,h:
x and y give the coordinates (x,y) at which to display the GroupBox rectangle. GroupBox displays the title at the upper left corner of the group box, overlaying a portion of the rectangle border.
- PLHRES Title;: Title gives the label for the GroupBox.
- PLHDATA Data: Not used.
- UINT LogicalSize: Not used.
- UINT Style: If the GroupBox is part of a DialogBox, STYLE_NOFOCUS should be used.
- PLHWINDOW Parent: Used by the Object class handler.
- PLHFKEYS FKeys: Used by the Object class handler.
- PLHMENU Menu: Used by the Object class handler.
- UINT Selection: Not used.
- UINT WindowTop: Not used.
Messages
- DRAW: GroupBox responds to the Data parameter submessages DRAW_TITLE and DRAW_FRAME.
- KEYSTROKE: Passed to StaticRect class handler.
- CREATE: Passed to StaticRect class handler.
- DESTROY: Passed to StaticRect class handler.
- TERMINATE: Passed to StaticRect class handler.
- ACTIVATE: Passed to StaticRect class handler.
- DEACTIVATE: Passed to StaticRect class handler.
- SETFOCUS: Passed to StaticRect class handler.
- LOSEFOCUS: Passed to StaticRect class handler.v
- NULLEVENT: Passed to StaticRect class handler.
- NOTIFY: Passed to StaticRect class handler.
- COMMAND: Passed to StaticRect class handler.
- APPEAR: Passed to StaticRect class handler.
- DISAPPEAR: Passed to StaticRect class handler.