UI_CONTEXTAVAILABILITY enumeration (uiribbon.h)

Specifies values that identify the availability of a contextual tab.

Syntax

typedef enum UI_CONTEXTAVAILABILITY {
  UI_CONTEXTAVAILABILITY_NOTAVAILABLE = 0,
  UI_CONTEXTAVAILABILITY_AVAILABLE = 1,
  UI_CONTEXTAVAILABILITY_ACTIVE = 2
} ;

Constants

 
UI_CONTEXTAVAILABILITY_NOTAVAILABLE
Value: 0
A contextual tab is not available for the selected object.
UI_CONTEXTAVAILABILITY_AVAILABLE
Value: 1
A contextual tab is available for the selected object. The tab is not the active tab.
UI_CONTEXTAVAILABILITY_ACTIVE
Value: 2
A contextual tab is available for the selected object. The tab is the active tab.

Remarks

A contextual tab is displayed based on the UI_CONTEXTAVAILABILITY value in UI_PKEY_ContextAvailable.

Requirements

Requirement Value
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

See also

Constants and Enumerations

UI_PKEY_ContextAvailable