API 文档 > Windows and views > Object ProWindow > Function ProWindowPositionGet
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:
Synopsis
#include <ProWindows.h>
ProWindowPositionGet
(
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
The function could not return the position of the specified window.
The function successfully returned the values.
Sample Code References
这对您有帮助吗?