A Child is a widget that is not wholey contained within its
Parent widget. If a Child's Parent widget is disabled or hidden, the Child is
not disabled or hidden. An example of this would be a Dialog being displayed with a
Window as its Parent.
Back to top
A Parent widget is a widget that owns
Children or
Subwindows. Parent windows will destroy their children and subwindows when they are destroyed.
Back to top
A Subwindow is a widget that is wholey contained within its
Parent widget. If a Subwindow's parent is disabled or hidden, the Subwindow is also disabled or hidden. An example of this would be a Button whos Parent is a Window.
Back to top
TLW stands for Top Level Widget. Referring to a Top Level Widget means you are dealing with a widget derived from the TopLevel interface.
Back to top
Widget is a general term used to refer to a GUI object. For Microsoft Windows programmers, "widget" can be considered a "window", although Widget and
Window are
not the same thing!
Back to top
A Window explicitly refers to a top level
Widget that contains a title bar and
Subwindows. For Microsoft Windows programmers, this is
not the same as a "window", and is instead a "frame", or CFrameWnd for MFC programmers. Do not confuse Window and Widget!
Back to top