Excel add-in with modeless dialog

C

ckb

I have created an Excel add-in that uses a modeless dialog box. I want the
dialog box to be on top of Excel when Excel is the active window. If Excel
is minimized or is not the active window, I don't want my dialog to appear.
When I set the TopMost property of the dialog to True, the dialog remains on
top of every application. What can I do to get the desired behavior?
-- ckb
 

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