BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarCustomize::Create ( )
virtual

Displays a modeless customization dialog.

Returns
Nonzero if the customization property sheet is created successfully; otherwise 0.

Call this function to display the customization dialog.

Usually, you should call the Create member function after initialization stage.

Example:

Copy
// construct the customization dialog object:
CBCGPToolbarCustomize* pDlgCust = new CBCGPToolbarCustomize(this, TRUE);
CBCGPToolbarEditBoxButton editButton(ID_EDIT_NAME, CImageHash::GetImageOfCommand (ID_EDIT_NAME, FALSE));
pDlgCust->ReplaceButton(ID_EDIT_NAME, editButton);
// display the customization dialog
pDlgCust->Create();