BCGControlBar Pro for MFC
int CBCGPMouseManager::GetViewIdByName ( LPCTSTR  lpszName) const

Given a view name returns the view ID.

Returns
A view ID if success; otherwise 0.

The function returns the view identifier if a view specified by lpszName parameter has been registered with the CBCGMouseManager using the AddView() member function.

Parameters
lpszNameThe view name.