Category Windows and views, Object ProWindow

Function ProWindowPositionGet


Description
Returns the position of the upper, left corner of the Creo Parametric window dialog from the upper, left corner of the screen. The position is normalized to values from 0 to 1.
Replacement in Object TOOLKIT: pfcWindow::XPos
pfcWindow::YPos
Synopsis
#include <ProWindows.h>
ProErrorProWindowPositionGet(
int win_id
/* (In)
The identifier of the Creo Parametric window
*/
double* x
/* (Out)
The X position of the window, normalized between 0 and 1
*/
double* y
/* (Out)
The Y position of the window, normalized between 0 and 1
*/
)
Returns
PRO_TK_BAD_INPUTSThe function could not return the position of the specified window.
PRO_TK_NO_ERRORThe function successfully returned the values.

Sample Code References:

  1. pt_examples ( TestView.c )