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.