IOleInPlaceUIWindow::GetBorder method (oleidl.h)
Retrieves the outer rectangle for toolbars and controls while the object is active in place.
HRESULT GetBorder( LPRECT lprectBorder );
A pointer to a RECT structure where the outer rectangle is to be returned. The structure's coordinates are relative to the window being represented by the interface.
This method returns S_OK on success. Other possible return values include the following.
||The object cannot install toolbars in this window object.|
||Insufficient memory available for this operation.|
||An unexpected error has occurred.|
If the object is to install these tools, it should negotiate space for the tools within this rectangle using IOleInPlaceUIWindow::RequestBorderSpace and then call IOleInPlaceUIWindow::SetBorderSpace to get this space allocated.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|