IsWriteProtected
Determine if a column is write protected.
BOOL IsWriteProtected( DWORD dwCtrl = OAM_DATA_RANGE )
TRUE if column is write protected, FALSE otherwise.
EX1
// Report write protection status of columns void Column_IsWriteProtected_Ex1() { Worksheet wks = Project.ActiveLayer(); Column col; BOOL bRet; for( int ii = 0 ; ii < wks.GetNumCols() ; ii++ ) { if( wks.Columns(ii).IsWriteProtected() ) printf("Column %u is WRITE PROTECTED\n", ii); else printf("Column %u is NOT write protected\n", ii); } }
Worksheet::IsWriteProtected
origin.h