Skip to main content
Participating Frequently
May 17, 2021
Answered

Acrobat lost / gained focus

  • May 17, 2021
  • 1 reply
  • 781 views

I have a requirement where I need to know in my c++ plugin when Acrobat loses or gains focus. Is there any notification I can register for this?

This topic has been closed for replies.
Correct answer BarlaeDC

Hi,

 

You should be able to manage something from the events on AVWindowHandler

:

- AVWindowDidClose ( be careful because there could be more than one)

- AVWindowWillDeactivate

- AVWindowDidActivate

 

It will probably take a bit of trial and error to figure the exact combo that works for your scenario.

1 reply

BarlaeDC
Community Expert
BarlaeDCCommunity ExpertCorrect answer
Community Expert
May 17, 2021

Hi,

 

You should be able to manage something from the events on AVWindowHandler

:

- AVWindowDidClose ( be careful because there could be more than one)

- AVWindowWillDeactivate

- AVWindowDidActivate

 

It will probably take a bit of trial and error to figure the exact combo that works for your scenario.

Participating Frequently
May 31, 2021

@BarlaeDC that is exactly what I was looking for, thanks so much.