How to keep selected text highlighted when focus changes in MS Word

When I select text Microsoft Word (2003, 2007, 2010) it shows up highlighted. However, when I change focus to another program, the highlighted text is no longer highlighted (until Word is again having focus). Is there a way to change this, i.e. that the selection is visible even then another application or form has focus.
Note, that I don’t wish to resolve this by e.g using VBA WordApl. Activate which would force focus back to Word, and hence make the selection visible.
I’m creating an Word add-in which at some point need to select some text in Word document. However, when user click on the add-in interface form, the selection is not visible, until focus is returned back to Word document, which is bad for me. On the other hand, if you for instance use Word spellchecker, when it finds unknown word and it selects it, the selection is visible even if you currently work with the spellchecker form (i.e. when the spellchecker form has focus); I need to replicate such a behavior, i.e. that the selection in Word is visible event when the user is working with add-ins form…
npaunAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

npaunAuthor Commented:
ok, I found the solution: the problem is naturally solved by itself, if the add-in is compiled to a .dll which is than used by Word! As long as the add-in in is working in IDE mode, the problem is present, but when compiled, the problem naturally goes away...
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.