【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.5.37 Column::IsWriteProtected
Contents
Description
Determine if a column is write protected.
Syntax
BOOL IsWriteProtected( DWORD dwCtrl = OAM_DATA_RANGE )
Parameters
- dwCtrl
- [input] enumerated as OBJECTACCESSMASK
Return
TRUE if column is write protected, FALSE otherwise.
Examples
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); } }
Remark
Determine if a column is write protected.
See Also
Header to Include
origin.h