SetShow
Shows a hidden page or opens a minimized window.
int SetShow( int nNewShow = PAGE_ACTIVATE )
Returns the original show state of the page on success and -1 on failure.
EX1
void PageBase_SetShow_ex1() { Worksheet wksTemp; if(wksTemp.Create(NULL, CREATE_HIDDEN)) // Create hidden worksheet { // Then show page wksTemp.GetPage().Rename("MyNewWks"); wksTemp.GetPage().SetShow(PAGE_ACTIVATE); } }
Shows a hidden page or opens a minimized window. If PAGE_ACTIVATE is specified for nNewShow the effect is the same as if the page were double-clicked in Project Explorer.
PageBase::GetShow, OriginObject::CheckShowActivate
origin.h