- pif:Pointer to the IWidget Interface Object
- piDisplay:IDisplay* to be wrapped.
int IWidget_SetDisplay(IWidget *pif, IDisplay *piDisplay);
AEE_SUCCESS: If the widget is able to wrap the piDisplay. ENOMEMORY: If there is not enough memory to create offscreen bitmap. AEE_EFAILED: If the property could not be set.
Required Model: IViewModel
Model Data: The DisplayWidget relies on a view model that it simply uses as a conduit for sending focus changed events to listening objects.