共用方式為


CCheckListBox::Enable

Call this function to enable or disable a checklist box item.

void Enable( 
   int nIndex, 
   BOOL bEnabled = TRUE  
);

Parameters

  • nIndex
    Index of the checklist box item to be enabled.

  • bEnabled
    Specifies whether the item is enabled or disabled.

Requirements

Header: afxwin.h

See Also

Reference

CCheckListBox Class

Hierarchy Chart

CCheckListBox::IsEnabled