- pif:A pointer to an IRootContainer object.
- pw:Identifies the widget in the root container's widget stack whose layout position should be retrieved. This widget may be expressed explicitly as a widget pointer, or implicitly as a constant that identifies a relative position within the widget stack, as
- ppos:Pointer to a WidgetPos data structure, into which the function will copy the current layout position of the widget.
int IRootContainer_GetPos(IRootContainer *pif, IWidget *pw, WidgetPos *ppos);
AEE_SUCCESS -- The layout position of the widget was successfully retrieved. AEE_EBADPARM -- The widget pointer passed in 'pw' either does not exist, or refers to a widget that is not in the root container's widget stack.