Test to see if a given page is the active window
bool page_is_active( const Page & pg )
Return True means page is the active window, otherwise false.
EX1
void page_is_active_ex() { GraphPage gp; gp.Create(); if(page_is_active(gp)) printf("%s is active page",gp.GetName()); }
get_active_page
origin.h