Category Windows and views, Object ProWindow

Function ProWindowSizeGet


Description
Returns the size of the Creo Parametric window. The size is normalized to values from 0 to 1. This is the size of the window including the dialog.
Replacement in Object TOOLKIT: pfcWindow::Height
pfcWindow::Width
Synopsis
#include <ProWindows.h>
ProErrorProWindowSizeGet(
int win_id
/* (In)
The identifier of the Creo Parametric window
*/
double* width
/* (Out)
The width of the window
*/
double* height
/* (Out)
The height of the window
*/
)
Returns
PRO_TK_BAD_INPUTSThe function could not find the size of the specified window.
PRO_TK_NO_ERRORThe function successfully returned values.

Manual References:

  1. User Interface: Basic Graphics: Resizing Windows
  2. User Interface: Basic Graphics: Resizing Windows

Sample Code References:

  1. pt_examples ( TestView.c )