[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2014-08-27
1
Medium Priority
?
586 Views
Last Modified: 2014-08-27
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…
0
Comment
Question by:npaun
1 Comment
 

Accepted Solution

by:
npaun earned 0 total points
ID: 40288768
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question