COleClientItem::CanActivate

virtualBOOLCanActivate();

Return Value

Nonzero if in-place activation is allowed; otherwise 0.

Remarks

Called by the framework when the user requests in-place activation of the OLE item; this function’s return value determines whether in-place activation is allowed. The default implementation allows in-place activation if the container has a valid window. Override this function to implement special logic for accepting or refusing the activation request. For example, an activation request can be refused if the OLE item is too small or not currently visible.

For more information, see in the OLE documentation.

COleClientItem OverviewClass MembersHierarchy Chart