Export (0) Print
Expand All

IUIImage::GetBitmap method

Retrieves a bitmap to display as an icon in the ribbon and context popup UI of the Windows Ribbon framework.

Syntax


HRESULT GetBitmap(
  [out]  HBITMAP *bitmap
);

Parameters

bitmap [out]

Type: HBITMAP*

When this method returns, contains a pointer to the handle to the requested bitmap.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

IUIImage::GetBitmap is called on image property callback triggered by InvalidateUICommand.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Product

Windows UI

Header

Uiribbon.h

IDL

Uiribbon.idl

DLL

Mshtml.dll

See also

IUIImage
IUIImageFromBitmap
Windows Ribbon Framework Samples

 

 

Community Additions

ADD
Show:
© 2014 Microsoft