BCGControlBar Pro for MFC
BOOL CBCGPEditListBase::SetStandardButtons ( UINT  uiBtns = BGCEDITLISTBOX_BTN_NEW|BGCEDITLISTBOX_BTN_DELETE|BGCEDITLISTBOX_BTN_UP|BGCEDITLISTBOX_BTN_DOWN)

Allows to specify which standard buttons should be created at the top of control.

Call this member function to specify which standard buttons should be created at the top of the edit list control. It can be any combination of the standard buttons. The following is the list of predefined standard buttons:

  • BGCEDITLISTBOX_BTN_NEW = 0x0001- allows to insert a new item into list control
  • BGCEDITLISTBOX_BTN_DELETE = 0x0002 - allows to remove an item from the list control
  • BGCEDITLISTBOX_BTN_UP = 0x0004 - allows to move a selected item up
  • BGCEDITLISTBOX_BTN_DOWN = 0x0008 - allows to move a selected item down
Parameters
uiBtnsA combination of the standard buttons flags