Focus goes to the excel for addins developed in VC++

L

Lokesh Sharma

Hi,

When we develop excel Addins in VB\C# and call a modeless dialog box which
has edit control in it, from the menu and type something on the dit control
the focus remains on the edit box, but if we try to do samething with VC++
code , the focus goes to the excel. How can we avoid this and make sure that
focus remains in the edit box only. Presently I am using a message loop for
theedit control but want to avoid this?

Avy solution for this?

Lokesh
 

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