GetWindow
Get the Window object associated with a page object.
Window GetWindow( int nChildID = 0 )
Returns the Window object associated with a page.
EX1
int PageBase_GetWindow_ex1() { WorksheetPage wp = Project.WorksheetPages(0); if( wp.IsValid() ) { Window win = wp.GetWindow(); if( win ) printf("Got window successfully!\n"); else printf("Got window error!\n"); } return 0; }
origin.h