BCGSuite for MFC
int CBCGPToolBoxEx::GetPageNumber ( CBCGPToolBoxPage pPage) const

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

Returns
The zero-based index of a 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.