Notifies the container that the object is about to enter the UI-active state.
HRESULT RequestUIActivate(void);
Return Values
This method supports the standard return value E_FAIL, as well as the following:
Remarks
An object calls this method to determine if it can enter the UI-active state and to notify the container that it is about to make this transition. The container can return S_FALSE to deny this request, for example, if the end user has canceled the operation or if the currently active object will not relinquish its active state.
If the object does not call RequestUIActivate, the container handles data validation and fires Enter and Exit events from IOleInPlaceSite::OnUIActivate.
See Also
IOleInPlaceSite::OnUIActivate, IOleInPlaceSite::OnUIDeactivate