Compartir a través de


COleServerDoc::ActivateInPlace

Activates the item for in-place editing.

BOOL ActivateInPlace( );

Return Value

Nonzero if successful; otherwise 0, which indicates that the item is fully open.

Remarks

This function performs all operations necessary for in-place activation. It creates an in-place frame window, activates it and sizes it to the item, sets up shared menus and other controls, scrolls the item into view, and sets the focus to the in-place frame window.

This function is called by the default implementation of COleServerItem::OnShow. Call this function if your application supports another verb for in-place activation (such as Play).

Requirements

Header: afxole.h

See Also

Reference

COleServerDoc Class

Hierarchy Chart

COleServerItem::OnShow

Other Resources

COleServerDoc Members