I have several places where I use a form as a subform, by simply set the border to none and toplevel = false.
Now, the problem is that I can’t TAB out of the form. In MFC there is a style called DS_CONTROL which can be used for this. I tried to enable WS_EX_CONTROLPARENT but that didn’t work.

What is the flag I need to enable to make a form behave as a control I can tab in or out of when placed on another form?

Thanks
Jesper