Sets the view model associated with the widget. View models are used to provide the user with notifications of when important events such as extent changes occur.
int IWidget_SetViewModel(IWidget *pif, IModel *pifModel)
AEE_SUCCESS - Successfully set the view model AEE_EFAILED - Failed to set the view model
View Model is attached to the widget (pif)