Please Verify - is there any way to tell if a tab is visible

D

David Thielen

Can one of the MSFT support people please ask the Word dev team the following:

I have to sit on a very expensive Word event when my Ribbon tab is visible
(to enable/disable buttons based on the caret position). Is there a way to
get a call from Word when my tab is displayed and another call when it is
hidden?

Even if it is a hack. For example in Word 2000/2002/2003 I sit on the Word
window message pumps and look for mouse clicks where the menu is and in that
case then enable/disable.

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
W

Wei Lu [MSFT]

Hello Dave,

Unfortunately, the tab in ribbon did not provide the event that you could
handle.

I am not sure why you want to handle this event. My suggestion is that you
could use the getVisable callback function to dynamically show or hidden
the tab.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

Cindy M.

Hi Dave,

Have you considered using a custom task pane, instead? With a toggle button
somewhere in a standard Ribbon tab that turns it on. The event could be
on/off with the visibility of the ctp...
I have to sit on a very expensive Word event when my Ribbon tab is visible
(to enable/disable buttons based on the caret position). Is there a way to
get a call from Word when my tab is displayed and another call when it is
hidden?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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