Compartilhar via


CMFCToolBarImages::GetResourceOffset

Returns the image index for a specified resource ID.

int GetResourceOffset(
   UINT uiResId 
) const;

Parameters

  • [in] uiResId
    An image resource ID.

Return Value

An image index if the method was successful; -1 if the image with the specified resource ID does not exist.

Requirements

Header: afxtoolbarimages.h

See Also

Reference

CMFCToolBarImages Class

Hierarchy Chart