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.
// make the worksheet window iconized
WorksheetPage wksPg = Project.WorksheetPages(0);
Window winWks = wksPg.GetWindow();
//--> wkspg should be min.