UICues UICues UICues UICues Enum


指定用户界面的状态。Specifies the state of the user interface.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class UICues
public enum UICues
type UICues = 
Public Enum UICues


Changed Changed Changed Changed 12

焦点提示和键盘提示的状态已发生更改。The state of the focus cues and keyboard cues has changed.

ChangeFocus ChangeFocus ChangeFocus ChangeFocus 4

焦点提示的状态已发生更改。The state of the focus cues has changed.

ChangeKeyboard ChangeKeyboard ChangeKeyboard ChangeKeyboard 8

键盘提示的状态已发生更改。The state of the keyboard cues has changed.

None None None None 0

未作出任何更改。No change was made.

ShowFocus ShowFocus ShowFocus ShowFocus 1

聚焦框在更改后显示。Focus rectangles are displayed after the change.

ShowKeyboard ShowKeyboard ShowKeyboard ShowKeyboard 2

键盘提示在更改后加下划线。Keyboard cues are underlined after the change.

Shown Shown Shown Shown 3

在更改后显示聚焦框以及给键盘提示加下划线。Focus rectangles are displayed and keyboard cues are underlined after the change.


为 ventArgs,如构造函数的成员使用此枚举。This enumeration is used by members such as the constructor for ventArgs.

此枚举用于指定哪些用户界面提示将显示或更改。This enumeration is used to specify which user interface cues will be displayed or changed. 例如,当用户按下 ALT 键,通过下划线的相应字符显示在菜单上的键盘快捷方式。For example, when the user presses the ALT key, the keyboard shortcuts on the menu are displayed by underlining the appropriate character. 按位组合UICuesEventArgsShowKeyboard 和 ChangeKeyboard 将是此示例。The bitwise combination of UICuesEventArgs for this example would be ShowKeyboard and ChangeKeyboard.