BOOL CBCGPMouseManager::AddView | ( | int | iViewId, |
UINT | uiViewNameResId, | ||
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.
iViewId | A view ID. |
uiViewNameResId | A view name resource string ID. |
uiIconId | A view icon ID. |