IsInManager
Tests if a particular page is in the page manager. Returns false if the particular page is created as temp or with the bit CREATE_SET_MISSING_IN_MANAGER turned on or if the page is set as deleted.
BOOL IsInManager( )
returns zero if the particular page is created as temp or with the bit CREATE_SET_MISSING_IN_MANAGER turned on or if the page is set as deleted. Otherwise a non zero value is returned.
EX1
static void _test_is_in_manager(PageBase& pg) { if( pg ) printf("Page %s %s managed in this project explorer.\n", pg.GetName(), pg.IsInManager()? "is" : "is NOT"); } int PageBase_IsInManager_Ex1() { GraphPage gp; gp.Create(NULL, CREATE_SET_MISSING_IN_MANAGER); _test_is_in_manager(gp); GraphPage gp2; gp2.Create(); _test_is_in_manager(gp2); return 0; }
origin.h