Share

CAdUiBitmapButton::LoadBitmap

C++

BOOL LoadBitmap(
    LPCTSTR strResId
);

Description

This function calls OnLoadBitmap() to load the bitmap image from a resource. If OnLoadBitmap() succeeds then m_bmpResId is set to strResId, the bitmap's extents are recalculated and the function returns TRUE. Otherwise the function returns FALSE.

Parameters

Parameters Description
strResId Input resource ID of the bitmap to load

Links

CAdUiBitmapButton Class

Was this information helpful?