XLL+ Class Library

::XllLoadBitmapForExcelLanguage

Loads a bitmap from a resource file, for the language of the Excel version

[C++]
HBITMAP XllLoadBitmapForExcelLanguage(
   UINT uBitmapID
);

Parameters

uBitmapID

Numeric bitmap resource identifier.

Return value

A handle to the loaded bitmap if the function succeeds, NULL if it fails. The bitmap should be released with DeleteObject when no longer in use.

Remarks

This function loads a bitmap from a resource file, using the Excel version language, as returned by XllGetExcelLanguageID(), if possible.

The bitmap should be released with DeleteObject when no longer in use.

Requirements

Header: xllres.h

See Also

Global resource functions