2.1.14.3.24 page_is_active


Description

Test to see if a given page is the active window

Syntax

bool page_is_active( const Page & pg )

Parameters

pg
[input] Page for testing

Return

Return True means page is the active window, otherwise false.

Examples

EX1

void page_is_active_ex()
{
	GraphPage gp;
    gp.Create();
    if(page_is_active(gp))
    	printf("%s is active page",gp.GetName());
}

Remark

See Also

get_active_page

Header to Include

origin.h

Reference