Talking of common controls and talking with my self to determine control relationships, I need help with class design..
We can say that group box is a parent window because it can contain child controls, usually buttons.
those child controls send notification to their parent which is group box, if buttons are not part of group box then group box is empty, therefore group box IS fundamentally a parent window.
What is worth nothing is that group box is in same time also a child window because it's not top level and does not run a message loop.
Therefore group box is both a parent and child.
Tab control seems to be similar but by looking at MS docs, it looks like it's not a parent.
Tab control is a child since it's added to top level window or some other kind of a window, however you cannot add child controls to tab control (at least I think so)
The only thing about Tab control is that is has tabs, depending on which tab is selected a top level window should hide windows and controls from one tab and display those in another tab which is currently selected.
Therefore top level window is responsible to manage child windows rather than tab control.
What is confusing is that you can specify tab control to be parent of some control, ex. you can specify HWND parent to be tab control.
Visually however is looks like tab control is just clickable tabs but no client area onto which to put child controls.
So my question is, is tab control a parent or not, would you specify tab as parent window when creating controls in tabs?
Any suggestions about tab control are welcome.
https://learn.microsoft.com/en-us/windows/win32/controls/tab-control-reference
https://learn.microsoft.com/en-us/windows/win32/msi/groupbox-control