COleControl::GetClientOffset

virtual void GetClientOffset( long* pdxOffset, long* pdyOffset ) const;

Parameters

pdxOffset

Pointer to the horizontal offset of the OLE control's client area.

pdyOffset

Pointer to the vertical offset of the OLE control's client area.

Remarks

The OLE control has a rectangular area within its container. The client area of the control is the control area excluding borders and scroll bars. The offset retrieved by GetClientOffset is the difference between the upper left corner of the control's rectangular area and the upper left corner of its client area. If your control has non-client elements other than the standard borders and scrollbars, override this member function to specify the offset.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::ParentToClient, COleControl::ClientToParent