When you call CreateDialog() or CreateDialogIndirect() for modeless dialogs, one of the parameters is a pointer to a template, either as a resource file in the module, or a dynamic template created on-the-fly.
Once the call has been made to CreateDialog() or CreateDialogIndirect() and the box is on the screen, is there any way to add a control to it without having to destroy it and then re-create it? If I add a button or an edit field using CreateWindowEx() with the WS_CHILD style, will it be included in dialog tab navigation, notifications, etc?
Note, I am not making use of MFC or ATL. This is a straight API program.