COleControlSite::SetWindowPos

Switch View :
ScriptFree
Visual Studio 2010 - Visual C++
COleControlSite::SetWindowPos

Sets the size, position, and Z order of the control site.

virtual BOOL SetWindowPos(
   const CWnd* pWndInsertAfter,
   int x,
   int y,
   int cx,
   int cy,
   UINT nFlags 
);
Parameters

pWndInsertAfter

A pointer to the window.

x

The new position of the left side of the window.

y

The new position of the top of the window.

cx

The new width of the window

cy

The new height of the window.

nFlags

Specifies the window sizing and positioning flags. For possible values, see the Remarks section for SetWindowPos in the Windows SDK.

Return Value

Nonzero if successful, otherwise zero.

Requirements

Header: afxocc.h

See Also

Reference

Other Resources