共用方式為


__VSSEARCHNAVIGATIONKEY Enum

Definition

Provides an enumeration of keyboard keys (enter, navigation arrows, page up/page down) that are forwarded by the common search control to your IVsWindowSearch implementation (through a call to OnNavigationKeyDown(UInt32, UInt32)). You can then intercept these key presses and provide actions specific to your window (for example, select the previous or next search result, execute the currently-selected result, and so on).

public enum class __VSSEARCHNAVIGATIONKEY
public enum class __VSSEARCHNAVIGATIONKEY
enum __VSSEARCHNAVIGATIONKEY
public enum __VSSEARCHNAVIGATIONKEY
type __VSSEARCHNAVIGATIONKEY = 
Public Enum __VSSEARCHNAVIGATIONKEY
Inheritance
__VSSEARCHNAVIGATIONKEY

Fields

SNK_DOWN 1

The down arrow key was pressed.

SNK_END 6

The End key was pressed.

SNK_ENTER 0

The Enter key was pressed.

SNK_HOME 5

The Home key was pressed.

SNK_PAGEDOWN 3

The Page Down key was pressed.

SNK_PAGEUP 4

The Page Up key was pressed.

SNK_UP 2

The up arrow was pressed.

Applies to