Hello,
When creating controls in a Dialog, I use the Dialog as the parent for all created controls inside that parent. This is treu even for controls embedded in a Sizer, GroupBox etc... The membership in a group box or sizer is indicated by the corresponding 'add' method, not by the 'parenthood' of the child.
When trying other stuff like dynamic control, I have seen that setting the parent of a control to, for example, the containing GroupBox have some impact on the layout (but not much). Like the behavoir is better or worse when dynamically hiding/showing controls.
Is it possible to have some information to better understand what the parent must/should be and how it impacts the layout or other aspects of the GUI?
thanks
-- bitli