Category Custom user interface, Object ProUIList

Function ProUIListPositionGet


Description
Get the position of the list with respect to its parent. This field is used only if the parent is a drawing area.
Synopsis
#include <ProUIList.h>
ProErrorProUIListPositionGet(
char* dialog
/* (In)
The name of the dialog that contains the list.
*/
char* component
/* (In)
The name of the list component.
*/
int* x
/* (Out)
X value with respect to the upper left corner of the parent.
*/
int* y
/* (Out)
Y value with respect to the upper left corner of the parent.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_GENERAL_ERRORThe function failed.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.

Manual References:

  1. User Interface: Dialogs: List Operations
  2. User Interface: Dialogs: List Operations