Dela via


COleControl::GetClientSite

Queries an object for the pointer to its current client site within its container.

LPOLECLIENTSITE GetClientSite( );

Return Value

A pointer to the control's current client site in its container.

Remarks

The returned pointer points to an instance of IOleClientSite. The IOleClientSite interface, implemented by containers, is the object's view of its context: where it is anchored in the document, where it gets its storage, user interface, and other resources.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

Other Resources

COleControl Members