int GetMonitorFromPanel (int panelHandle, int *monitorID);
Returns the ID of the monitor that contains the specified panel or is nearest the specified panel.
If the panel is on more than one monitor, the function returns the monitor that contains the majority of the panel.
Input | ||
Name | Type | Description |
panelHandle | integer | Specifier for a particular panel that is currently in memory. You obtain this handle from LoadPanel, NewPanel, or DuplicatePanel. |
Output | ||
Name | Type | Description |
monitorID | integer (passed by reference) | The ID of the monitor that contains the majority of the specified panel or is nearest to the specified panel. |
Name | Type | Description | ||||
status | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred.
|