Complex focus problem

R

RB Smissaert

Have a modeless userform that can load a modal userform.
This modeless userform behaves like an application through some API code.
Amongst other things it means an icon will show in the taskbar.
A problem arises when the modeless userform loads a modal form, another
application gets activated, say Outlook and then the icon of the modeless
form gets clicked.
What happens then is that the modeless userform is on top of the modal form,
but the modeless form can't get the focus as this is in the modal form. So
you are stuck. You can get out of this with Alt + tab though.
Other than making the modal form modeless, which is no good solution, what
would be the best approach to avoid this problem?
Thanks for any advice.

RBS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top