Skip to content

Latest commit

 

History

History
97 lines (67 loc) · 2.84 KB

ns-uiribbon-ui_eventparams.md

File metadata and controls

97 lines (67 loc) · 2.84 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:uiribbon._UI_EVENTPARAMS
UI_EVENTPARAMS (uiribbon.h)
Contains information about a Ribbon event.
PUI_EVENTPARAMS
PUI_EVENTPARAMS structure pointer [Windows Ribbon]
UI_EVENTPARAMS
UI_EVENTPARAMS structure [Windows Ribbon]
uiribbon/PUI_EVENTPARAMS
uiribbon/UI_EVENTPARAMS
windowsribbon.ui_eventparams
windowsribbon\ui_eventparams.htm
windowsribbon
438ACF91-3C83-4E2D-B919-4CCAE65BCD3E
12/05/2018
PUI_EVENTPARAMS, PUI_EVENTPARAMS structure pointer [Windows Ribbon], UI_EVENTPARAMS, UI_EVENTPARAMS structure [Windows Ribbon], uiribbon/PUI_EVENTPARAMS, uiribbon/UI_EVENTPARAMS, windowsribbon.ui_eventparams
uiribbon.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
UI_EVENTPARAMS
19H1
_UI_EVENTPARAMS
uiribbon/_UI_EVENTPARAMS
UI_EVENTPARAMS
uiribbon/UI_EVENTPARAMS
c++
APIRef
kbSyntax
HeaderDef
Uiribbon.h
UI_EVENTPARAMS

UI_EVENTPARAMS structure

-description

Contains information about a Ribbon event.

-struct-fields

-field EventType

One of the values from UI_EVENTTYPE.

-field Modes

The application modes.

-field Params

The Command associated with the event.

-remarks

For top-level events (application menu opened/closed, ribbon minimized/expanded/pinned), Modes is present but set to zero (and can be ignored by the application).

For the UI_EVENTTYPE_ApplicationModeSwitched event, Modes specifies which modes have been set. (This is the same integer value that is passed to SetModes to switch modes in the first place.)

For all other events, Params contains additional data about the event.

-see-also

OnUIEvent

Reconfiguring the Ribbon with Application Modes

SetModes

Structures