[This is preliminary documentation and subject to change.]
A form used to edit keyboard input settings, in combination with KeyInputControl.
For a list of all members of this type, see KeyInputEditControl Members
.
System.Object
MarshalByRefObject
Component
Control
ScrollableControl
ContainerControl
Form
KeyInputEditControl
[ToolboxItemFilter(FilterString=""System.Windows.Forms.Control.TopLevel"", FilterType=ToolboxItemFilterType.Allow)]
[Designer(DesignerBaseTypeName=""System.ComponentModel.Design.IRootDesigner, System, Version=2.0.0.0, Culture=neut" +
"ral, PublicKeyToken=b77a5c561934e089"", DesignerTypeName=""System.Windows.Forms.Design.FormDocumentDesigner, System.Design, Version=2.0.0.0," +
" Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"")]
[DesignerCategory(Category=""Form"")]
[DefaultEvent(Name=""Load"")]
[ToolboxItem(ToolboxItemType=null, ToolboxItemTypeName="""")]
[DesignTimeVisible(Visible=False)]
[InitializationEvent(EventName=""Load"")]
[Designer(DesignerBaseTypeName=""System.ComponentModel.Design.IDesigner"", DesignerTypeName=""System.Windows.Forms.Design.ScrollableControlDesigner, System.Design, Version=2.0" +
".0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"")]
[DefaultProperty(Name=""Text"")]
[Designer(DesignerBaseTypeName=""System.ComponentModel.Design.IDesigner"", DesignerTypeName=""System.Windows.Forms.Design.ControlDesigner, System.Design, Version=2.0.0.0, Cult" +
"ure=neutral, PublicKeyToken=b03f5f7f11d50a3a"")]
[ToolboxItemFilter(FilterString=""System.Windows.Forms"", FilterType=ToolboxItemFilterType.Allow)]
[DesignerSerializer(SerializerTypeName=""System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=2.0." +
"0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"", SerializerBaseTypeName=""System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Vers" +
"ion=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"")]
public class KeyInputEditControl
: Form
Thread Safety
Public static (Shared in Visual Basic) members of this type are
safe for multithreaded operations. Instance members are not guaranteed to be
thread-safe.
Remarks
This form is opened as a modal dialog by KeyInputControl and is not intended to be directly used by other code.
The form hooks the keyboard input (using a low-level hook) and captures all input whilst focused. The captured input is translated in to the appropriate form for the keyboard input setting being modified (i.e. modifier only, or key + modifiers). Only scan codes are used, never virtual keys.
The DialogResult indicates the user's response: OK for "accept", Cancel for "cancel" and Ignore for "reset to default".
Requirements
Namespace:
ORTS
Assembly: Menu (in Menu.exe)
See Also
KeyInputEditControl Members | ORTS Namespace