BCGControlBar Pro for MFC
BOOL CBCGPMouseManager::AddView ( int  iId,
LPCTSTR  lpszViewName,
UINT  uiIconId = 0 
)

Enables a view object for the mouse double-click customization.

Returns
Nonzero if the object was registered successfully; otherwise 0.

Call this function to enable the CBCGPMouseManager object to display the list of views in the customization dialog. The user can select a view from the list and associate it with a command to be executed upon a mouse double-click event received by the view.

The CBCGPMouseManager provides the customization dialog with the view name and the view icon to display it in the list box.

Parameters
iIdA view ID.
lpszViewNameA view name.
uiIconIdA view icon ID.