BCGControlBar Pro for MFC
int CBCGPToolBox::GetPageNumber ( CBCGPToolBoxPage pPage) const

Given a pointer to a toolbox page object returns its zero-based index.

Returns
The index of page or -1 if the page is not found.

Use this function to retrieve the index of a toolbox page according to a pointer to a toolbox page object.

Parameters
pPagePoints to a page object.