-
1. Re: Choosing the position inside the AE window for Panelator.
shachar carmi May 7, 2010 5:40 AM (in response to dheeraj_c)when the window in which your tab resides is undocked, you can use functions such as RepositionWindow, MoveWindowStructure, ResizeWindow, SetWindowBounds and quite a few more.
when the window is docked, you have no control over the size.
you can only supply a few snap sizes, and hopefully AE will honor them.
it's in the panelator example:
void PanelatorUI::GetSnapSizes(A_LPoint* snapSizes, A_long * numSizesP)
{
snapSizes[0].x = 100;
snapSizes[0].y = 100;
snapSizes[1].x = 200;
snapSizes[1].y = 400;
*numSizesP = 2;
}
-
2. Re: Choosing the position inside the AE window for Panelator.
dheeraj_c May 7, 2010 5:51 AM (in response to shachar carmi)Thanks Shachar. First time when you launch (soon after installing/copying the plugin) the Panelator, it comes undocked. Can we just make it sit inside(docked) the AE window during it's very first launch?
-
3. Re: Choosing the position inside the AE window for Panelator.
shachar carmi May 7, 2010 5:57 AM (in response to dheeraj_c)AE remembers the docking state of windows across launches.
i don't know if you can force your window to be docked on it's very first launch ever.
maybe if you hack the prefs file and find the panel's positions there. there' no API for that anyways.
but if the user docks you panel, it will remain docked the next time AE launches.
-
4. Re: Choosing the position inside the AE window for Panelator.
dheeraj_c May 7, 2010 6:04 AM (in response to shachar carmi)Yes I noticed that the window maintains the docked state after the first launch. Anyway thanks for the reply.


