BOOL CBCGPMouseManager::AddView | ( | int | iId, |
LPCTSTR | lpszViewName, | ||
UINT | uiIconId = 0 |
||
) |
Enables a view object for the mouse double-click customization.
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.
iId | A view ID. |
lpszViewName | A view name. |
uiIconId | A view icon ID. |