Quantcast
Channel: Adobe Community : Popular Discussions - After Effects SDK
Viewing all articles
Browse latest Browse all 73444

How to get resize callbacks for a dockable plugin window?

$
0
0

Hi All,

          I'm going through Panelator plugin. It comes as a separate window. I want some callback when the window is getting resized or moved. What kind of event I need to register for gtting the callback. Any suggestions will help me a lot.

 

I tried using foillowing method, but I'm not getting the callback. I thought kEventClassWindow is related to window events.

 

static const EventTypeSpec  kDrawEventSpec[] = {kEventClassControl,  kEventControlDraw, kEventClassWindow };
   
OSErr    err = InstallEventHandler (GetControlEventTarget (i_refH),
                                        NewEventHandlerUPP (S_EventHandler),
                                        1,
                                        kDrawEventSpec,
                                        (void *) this,
                                        NULL);

 

Thanks,

Dheeraj.


Viewing all articles
Browse latest Browse all 73444

Trending Articles