SetFlag
Set or clear 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
void SetFlag( DWORD dwBit, BOOL bSet = true )
EX1
//Create a graph before run the code void Page_SetFlag_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::TestFlag
origin.h