Поделиться через


COleServerDoc::ActivateInPlace

Activates the item for in-place editing.

BOOL ActivateInPlace( );

Возвращаемое значение

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

Заметки

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).

Требования

Header: afxole.h

См. также

Основные понятия

COleServerDoc Class

COleServerDoc Members

Hierarchy Chart

COleServerItem::OnShow