UI_CONTROLDOCK enumeration (uiribbon.h)

Specifies values that identify the dock state of the Quick Access Toolbar (QAT).

Syntax

typedef enum UI_CONTROLDOCK {
  UI_CONTROLDOCK_TOP = 1,
  UI_CONTROLDOCK_BOTTOM = 3
} ;

Constants

 
UI_CONTROLDOCK_TOP
Value: 1
The QAT is docked in the nonclient area of the Ribbon host application, as shown in the following screen shot.

Screen shot showing the Quick Access Toolbar docked above the Ribbon in the nonclient area.
UI_CONTROLDOCK_BOTTOM
Value: 3
The QAT is docked as a visually integral band below the Ribbon, as shown in the following screen shot.

Screen shot showing the Quick Access Toolbar docked below the Ribbon.

Remarks

The QAT dock position is based on the UI_CONTROLDOCK value in UI_PKEY_QuickAccessToolbarDock.

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_QuickAccessToolbarDock