BCGControlBar Pro for MFC
int CBCGPToolBarImages::GetResourceOffset ( UINT  uiResId) const
inline

Given an image resource ID returns an image index.

Returns
An image index if success; -1 if the image with specified resource ID does not exist.

Use this function to retrieve an image index given an image resource ID.

Parameters
uiResIdSpecifies an image resource ID.