Hi,
ive got a dialog box with a tab control on it.
when i change tabs, i load a dialog box with no frame onto the tab, when i change again i delete that dialog and load another one in its place.
the trouble is, when i load these dialogs, they take the focus away from the main window, ie, if im typing into an edit box, the main toolbar will be grey. how can i stop these child dialogs from taking the focus like that?
if i give the child dialogs a title bar i can drag them outside of my main window. what am i doing wrong?
this isnt MFC.
ive got a dialog box with a tab control on it.
when i change tabs, i load a dialog box with no frame onto the tab, when i change again i delete that dialog and load another one in its place.
the trouble is, when i load these dialogs, they take the focus away from the main window, ie, if im typing into an edit box, the main toolbar will be grey. how can i stop these child dialogs from taking the focus like that?
if i give the child dialogs a title bar i can drag them outside of my main window. what am i doing wrong?
this isnt MFC.