Tabbing in modeless dialog that is a child of a modal dialog

Tabbing in modeless dialog that is a child of a modal dialog

Post by Markus Kau » Sat, 02 Dec 2006 00:08:34


Hello,

in an application I have the following window arrangement: The
application's main window is a modal dialog and there is a modeless
dialog that has the modal dialog as parent.

Now I want to be able to tab between the controls the modeless dialog.
But that does not work.

To solve that problem I tried to create the modeless dialog in a
separate thread with its own message loop. But the dialog seems always
to be created within the main dialogs thread. So I took the dialogs
creation back to the main dialogs thread and removed the message loop.

Can anybody tell me what I am doing wrong? Thanks in advance

Markus