◄COleServerDoc► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation OLE Classes────────────────────────────────────────── protected: virtual OLESTATUS OnSetDocDimensions( LPRECT <lpRect> ); Parameter Description <lpRect> A pointer to a CRect object or RECT structure that contains the new window dimensions. Remarks This virtual callback function is called when a client changes the size of the server's document window. Override this function if your embedded server can resize or move its document windows. The default implementation does nothing. Return Value See the ◄COleException► class for a list of return values. The value OLE_OK indicates that the function operated correctly. See Also ◄COleClientItem::SetBounds► -♦-