TestFlag
Test an internal flag. These bits are part of a control DWORD in the Page structure that are not saved into OPJ. They are only used to control transient properties in the page
BOOL TestFlag( DWORD dwBit )
TRUE means this bit is set else FALSE.
EX1
//Create a graph before run the code void Page_TestFlag_Ex1(string strPageName = "Graph1") { GraphPage pg(strPageName); if( pg ) { pg.SetFlag(PGDWNS_DISABLE_LT_EVENTS, true); if( !pg.TestFlag(PGDWNS_DISABLE_LT_EVENTS) ) printf("Fail to set page flag\n."); } }
Page::SetFlag
origin.h