IsAttributes
Determines if one of the attribute bits is set to the storage object
BOOL IsAttributes( DWORD dwAttrib )
Returns no zero if set else zero
EX1
//assume there exists a page in current project before run this code. void Storage_IsAttributes_ex1() { Page pg = Project.Pages(); storage st; st = pg.GetStorage("system"); if ( st ) { DWORD dwAttrs = 0x00011001; st.SetAttributes(dwAttrs); DWORD dwTest1 = 0x00000001; DWORD dwTest2 = 0x00000010; bool bFlag1 = st.IsAttributes(dwTest1); bool bFlag2 = st.IsAttributes(dwTest2); } return; }
Storage::SetAttributes
origin.h