UI_OWNERSHIP enumeration

Specifies values that identify the ownership conditions under which an image is created by the Windows Ribbon framework.

Syntax


typedef enum UI_OWNERSHIP { 
  UI_OWNERSHIP_TRANSFER  = 0,
  UI_OWNERSHIP_COPY      = 1
} UI_OWNERSHIP;

Constants

UI_OWNERSHIP_TRANSFER

The handle to the bitmap (HBITMAP) is owned by the Ribbon framework through the IUIImage object.

UI_OWNERSHIP_COPY

A copy of the HBITMAP is created by the Ribbon framework through the IUIImage object. The host application still owns the HBITMAP.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]

Header

Uiribbon.h

IDL

Uiribbon.idl

See also

Constants and Enumerations
IUIImageFromBitmap::CreateImage

 

 

Community Additions

ADD
Show: