Category Windows and views, Object ProView

Function ProViewFromModelitemGet


Description
Retrieves the view handle from the model item handle
Synopsis
#include <ProView.h>
ProErrorProViewFromModelitemGet(
ProModelitem* p_model_item
/* (In)
The model item, must be of type PRO_VIEW.
*/
ProView* p_view
/* (Out)
Handle to the view
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.
PRO_TK_NOT_VALIDView with id -1 was passed. This is the default view.

Manual References:

  1. User Interface: Basic Graphics: Storing Named Views
  2. User Interface: Basic Graphics: Storing Named Views