1 Attachment(s)
SetParent: how to make a child window?
Hi folks,
I'm trying to display a form inside another form. It's more or less the same as using an MDIForm, but I'd like not to use one because of the lousy positioning of the child forms.
With the SetParent API I can easily let one form host another, but the problem is that when the hosted form has the focus, the hosting form's title bar is gray. This is bad for the consistency of the interface. Does anyone know how to make the hosting form remain its focus?
Check out the attached example, it's a very simple illustration.
Thanks. :wave: