ShowWindow
This function sets the specified window's show state.
BOOL ShowWindow( int nCmdShow )
If the window was previously visible, the return value is TRUE.
If the window was previously hidden, the return value is FALSE.
EX1
int Window_ShowWindow_ex1() { // make the worksheet window iconized WorksheetPage wksPg = Project.WorksheetPages(0); if (wksPg) { Window winWks = wksPg.GetWindow(); if(winWks) winWks.ShowWindow(SW_MINIMIZE); //--> wkspg should be min. } return 0; }
origin.h