Help!

Determine is Visio drawing control is focused

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions RSS
Next:  Relationships bwtween more than one table  
Author Message
Stumple
External


Since: Oct 27, 2009
Posts: 1



PostPosted: Tue Oct 27, 2009 12:11 pm    Post subject: Determine is Visio drawing control is focused
Archived from groups: microsoft>public>visio>general (more info?)

I am trying to determine if a visio drawing control has focus. I just need to
know if the user has clicked on a page or a shape and hasn't clicked on a
different form or user control that is not withing the axdrawing control.

There doesn't seem to be a way to figure this out. I have tried the
Enter/Leave events and the GotFocus/LostFocus events. They both seem to fire
off only twice Enter then leave and GotFocus and then LostFocus.

The Application.Active property seems to always return -1 saying it is active.

I am showing my own tool tips over the visio document. The problem is that
when they show and the user clicks to another form they do not dissappear.
Also, if the user has a form open above the visio control and that form is
active my tooltips still stay visible if the user has the mouse over the
visio drawing control even when it is not the active control. I only want my
tool tips to display when visio is the active in focus control.

Does anyone know how to determine when the visio document is in focus or
active?

Thanks.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> General Discussions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum