MoveWindow
Changes the position and dimensions.
void MoveWindow( const RECT * lpRect, BOOL bRepaint = TRUE )
EX1
//Please make sure you have a worksheet window exist when you run the example int Window_MoveWindow_ex1() { WorksheetPage testWks = Project.WorksheetPages(0); Window testWin = testWks.GetWindow(); testWin.ShowWindow(SW_NORMAL); RECT RecNew = {144, 200, 500, 600}; testWin.MoveWindow(&RecNew); return 1; }
origin.h