Category Windows and views, Object ProWindow

Function ProWindowMdlGet


Description
Retrieves the Creo Parametric model that owns the specified window.
Replacement in Object TOOLKIT: pfcWindow::Model
Synopsis
#include <ProWindows.h>
ProErrorProWindowMdlGet(
int window
/* (In)
The handle to the Creo Parametric window
*/
ProMdl* r_mdl
/* (Out)
The model that owns the window
*/
)
Returns
PRO_TK_BAD_INPUTSThe specified window handle is invalid.
PRO_TK_NO_ERRORThe function returned the model.

Manual References:

  1. User Interface: Basic Graphics: Retrieving the Owner of a Window

Sample Code References:

  1. pt_examples ( TestDbms.c )
  2. pt_examples ( TestDbms.c )
  3. pt_examples ( TestDbms.c )
  4. pt_examples ( TestWindow.c )
  5. pt_examples ( TestSelect.c )