Share via


CMouseManager::GetViewIconId

Retrieves the icon associated with a view ID.

UINT GetViewIconId(
   int iViewId 
) const;

Parameters

  • [in] iViewId
    The view ID.

Return Value

An icon resource identifier if successful; otherwise 0.

Remarks

This method will fail if the view is not first registered by using CMouseManager::AddView.

Requirements

Header: afxmousemanager.h

See Also

Reference

CMouseManager Class

Hierarchy Chart

CMouseManager::AddView