Compartilhar via


COleControlSite::MoveWindow

Changes the position of the control.

virtual void MoveWindow(
   int x,
   int y,
   int nWidth,
   int nHeight 
);

Parameters

  • x
    The new position of the left side of the window.

  • y
    The new position of the top of the window.

  • nWidth
    The new width of the window

  • nHeight
    The new height of the window.

Requirements

Header: afxocc.h

See Also

Reference

COleControlSite Class

Hierarchy Chart

Other Resources

COleControlSite Members