S
Stumple
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.
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.