get AIPanelSuite in SetSizeChangedNotifyProc callback


my plugin not use global suite references. instead acquires , releases suites required. problem panel. want size of panel when size changed (so can change size of embedded wxpanel accordingly). size, need acquire panel suite. however, setsizechangednotifyproc callback method provides panelref , no message or else. how can suite in scenario?

 

also piece of code embed wxpanel inside aipanel, handle resize etc going dll can used multiple plugins. not want use global suite ptr.

i don't know if work, cache spbasicsuite* comes every message , use acquire suites needed. don't know if basic pointer consistently available or of it's created each message. if is, don't see way around using global suite pointers, that's not big shock since designed api around using global suite pointers



More discussions in Illustrator SDK


adobe

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues