Condividi tramite


CMouseManager::GetViewIdByName

Retrieves the view ID associated with a view name.

int GetViewIdByName(
   LPCTSTR lpszName 
) const;

Parameters

  • [in] lpszName
    The view name.

Return Value

A view ID if successful; otherwise 0.

Remarks

This method searches through views registered by using CMouseManager::AddView.

Requirements

Header: afxmousemanager.h

See Also

Reference

CMouseManager Class

Hierarchy Chart