Skip to main content
Participating Frequently
May 17, 2021 8:19 AM UTC
Answered

Acrobat lost / gained focus

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 is closed to new replies. Start a new post to keep the conversation going.
BarlaeDC
BarlaeDCCorrect answer
Community Expert
May 17, 2021 3:11 PM UTC

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.

7 replies

BarlaeDC
Community Expert
BarlaeDCCommunity ExpertCorrect answer
Community Expert
May 17, 2021 3:11 PM UTC

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.

Translate
Participating Frequently
May 31, 2021 1:49 AM UTC

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

Translate