Updated WindowsFormsAero library (from source).

Removed title and icon from About form.
Updated platform support, now sets Flip 3D policy (Vista) and Aero Peek exclusion (on Windows 7).
Changed context menu in order to work with the improved GlassForm version.
Fixed AspectRatioForm with code from Stanimir Stoyanov's blog.
This commit is contained in:
Lorenz Cuno Klopfenstein 2010-06-28 19:58:38 +02:00
parent 9500596982
commit ca8570bd76
16 changed files with 898 additions and 427 deletions

Binary file not shown.

Binary file not shown.

View file

@ -7,12 +7,6 @@
<member name="T:VistaControls.TaskDialog.TaskDialogButton">
<summary>Common Task Dialog buttons. OK is the default button.</summary>
</member>
<member name="T:VistaControls.TaskDialog.Results">
<summary>Class that aggregates the results of an "indirect" Task Dialog.</summary>
</member>
<member name="T:VistaControls.TaskDialog.Result">
<summary>Results returned by Task Dialogs when closed by the user.</summary>
</member>
<member name="T:VistaControls.TaskDialog.CustomButton">
<summary>Represents a custom button shown on a Task Dialog.</summary>
</member>
@ -36,37 +30,132 @@
<summary>Text label shown on the button. If you enable Command Links, a newline here
separates the upper from the lower string on the button.</summary>
</member>
<member name="T:VistaControls.ThemeText.ThemedLabel">
<member name="M:VistaControls.Dwm.GlassHelper.HandleFormMovementOnGlass(System.Windows.Forms.Form,VistaControls.Dwm.Margins)">
<summary>
A Label containing some text that will be drawn with glowing border on top of the Glass Sheet effect.
Adds a handler on the Form that enables the user to move the window around
by clicking on a glass margin (or the title bar, as usual).
</summary>
<param name="form">The form that will be controlled.</param>
<param name="margins">Margins of the glass sheet.</param>
<remarks>
Eventual UI elements on the glass sheet will prevent the handler from receiving events
(except the ThemeText control, which manually redirects mouse events to the form).
</remarks>
</member>
<member name="M:VistaControls.Dwm.GlassHelper.HandleBackgroundPainting(System.Windows.Forms.Form,VistaControls.Dwm.Margins)">
<summary>
Adds a handler on the Form that automatically paints the glass background black
</summary>
<param name="form">The form that will be controlled.</param>
<param name="margins">Margins of the glass sheet.</param>
</member>
<member name="T:VistaControls.Dwm.GlassHelper.HandleFormMovement">
<summary>
</summary>
<remarks>
Handler will be kept alive by the event references on the form.
As soon as the form is disposed, the handler will be disposed as well.
</remarks>
</member>
<member name="T:VistaControls.Dwm.GlassHelper.HandleBackground">
<summary>
</summary>
<remarks>
Handler will be kept alive by the event references on the form.
As soon as the form is disposed, the handler will be disposed as well.
</remarks>
</member>
<member name="T:VistaControls.NativeMethods">
<summary>
Control style and notification constants
</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.GlowSize">
<summary>Size of the glow effect around the text.</summary>
<member name="T:VistaControls.TaskDialog.Message">
<summary>Stores a Task Dialog message that will be sent to a dialog in order to update its state.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.GlowEnabled">
<summary>Enables or disables the glow effect around the text.</summary>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,System.Int32,System.Int32)">
<summary>Simple int, int message.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.ShadowType">
<summary>Shadow type.</summary>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,System.Int32,System.Boolean)">
<summary>Simple int, bool message.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.TextAlign">
<summary>Gets or sets the horizontal text alignment setting.</summary>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,System.Boolean,System.Boolean)">
<summary>Simple bool, bool message.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.TextAlignVertical">
<summary>Gets or sets the vertical text alignment setting.</summary>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,System.Boolean,System.Int32)">
<summary>Simple bool, int message.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.SingleLine">
<summary>Gets or sets whether the text will be laid out on a single line or on multiple lines.</summary>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,System.Int32,System.Int32,System.Int32)">
<summary>Simple int, long (hi word and lo word) message.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.EndEllipsis">
<summary>Gets or sets whether the text lines over the label's border should be trimmed with an ellipsis.</summary>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,VistaControls.TaskDialog.Message.DialogElements,System.String)">
<summary>Text updating message.</summary>
<remarks>The string will be marshaled: the Message must be correctly disposed after use.</remarks>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.WordBreak">
<summary>Gets or sets whether the text should break only at the end of a word.</summary>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,System.Int32,VistaControls.TaskDialog.NativeMethods.TaskDialogConfig)">
<summary>Navigation message.</summary>
<remarks>The config structure will be marshaled: must be correctly disposed after use.</remarks>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.WordEllipsis">
<summary>Gets or sets whether the text should be trimmed to the last word and an ellipse should be placed at the end of the line.</summary>
<member name="T:VistaControls.TaskDialog.Message.DialogElements">
<summary>Text values that can be updated.</summary>
</member>
<member name="T:VistaControls.SearchTextBox">
<summary>A standard WinForms text box presenting the common Vista "search" interface.
Reacts on user input by raising "SearchStarted" events.</summary>
</member>
<member name="M:VistaControls.SearchTextBox.SetFocusWithoutSelection">
<summary>Puts the focus on the text box and moves the caret to the end of the text, without selecting it.</summary>
</member>
<member name="M:VistaControls.SearchTextBox.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:VistaControls.SearchTextBox.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="P:VistaControls.SearchTextBox.HoverButtonColor">
<summary>Gets or sets the background Color of the button when the mouse hovers on it.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.ActiveForeColor">
<summary>Gets or sets the ForeColor of the control when the search box is active.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.ActiveBackColor">
<summary>Gets or sets the BackColor of the control when the search box is active.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.InactiveForeColor">
<summary>Gets or sets the ForeColor of the control when the search box is inactive.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.InactiveBackColor">
<summary>Gets or sets the BackColor of the control when the search box is inactive.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.ForeColor">
<summary>Temporary ForeColor property of the control. You should use InactiveForeColor and ActiveForeColor instead.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.BackColor">
<summary>Temporary BackColor property of the control. You should use InactiveBackColor and ActiveBackColor instead.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.InactiveText">
<summary>Gets or sets the text that is shown on top of the text box when the user hasn't entered any text.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.ActiveFont">
<summary>Gets or sets the font used in the search text box.</summary>
<remarks>Equals to the Font property.</remarks>
</member>
<member name="P:VistaControls.SearchTextBox.InactiveFont">
<summary>Gets or sets the font used to write the "inactivity label" on top of the control when the user hasn't entered any text.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.Font">
<summary>Overall Font property of the control. Property changes are forwarded to the ActiveFont property.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.TextEntered">
<summary>Returns true if the user entered some text in the search textbox.</summary>
</member>
<member name="T:VistaControls.Resources.Pictures">
<summary>
@ -87,36 +176,6 @@
<member name="T:VistaControls.TaskDialog.TaskDialog">
<summary>Displays a dialog box that can contain text, icons, buttons, command links, radio buttons and/or a progress bar.</summary>
</member>
<member name="M:VistaControls.TaskDialog.TaskDialog.Show(System.String)">
<summary>Displays a task dialog that has a message.</summary>
<param name="text">The text to display.</param>
</member>
<member name="M:VistaControls.TaskDialog.TaskDialog.Show(System.String,System.String)">
<summary>Displays a task dialog that has a message and a title.</summary>
<param name="text">The text to display.</param>
<param name="title">The title bar caption of the dialog.</param>
</member>
<member name="M:VistaControls.TaskDialog.TaskDialog.Show(System.String,System.String,System.String)">
<summary>Displays a task dialog that has a message, a title and an instruction.</summary>
<param name="text">The text to display.</param>
<param name="title">The title bar caption of the dialog.</param>
<param name="instruction">The instruction shown below the main text.</param>
</member>
<member name="M:VistaControls.TaskDialog.TaskDialog.Show(System.String,System.String,System.String,VistaControls.TaskDialog.TaskDialogButton)">
<summary>Displays a task dialog that has a message, a title, an instruction and one or more buttons.</summary>
<param name="text">The text to display.</param>
<param name="title">The title bar caption of the dialog.</param>
<param name="instruction">The instruction shown below the main text.</param>
<param name="buttons">Value that specifies which button or buttons to display.</param>
</member>
<member name="M:VistaControls.TaskDialog.TaskDialog.Show(System.String,System.String,System.String,VistaControls.TaskDialog.TaskDialogButton,VistaControls.TaskDialog.TaskDialogIcon)">
<summary>Displays a task dialog that has a message, a title, an instruction, one or more buttons and an icon.</summary>
<param name="text">The text to display.</param>
<param name="title">The title bar caption of the dialog.</param>
<param name="instruction">The instruction shown below the main text.</param>
<param name="buttons">Value that specifies which button or buttons to display.</param>
<param name="icon">The icon to display.</param>
</member>
<member name="M:VistaControls.TaskDialog.TaskDialog.#ctor">
<summary>Initializes a new Task Dialog instance without text.</summary>
</member>
@ -216,6 +275,36 @@
<summary>Displays the task dialog with an explicit parent form.</summary>
<param name="owner">Instance of the dialog's parent form.</param>
</member>
<member name="M:VistaControls.TaskDialog.TaskDialog.Show(System.String)">
<summary>Displays a task dialog that has a message.</summary>
<param name="text">The text to display.</param>
</member>
<member name="M:VistaControls.TaskDialog.TaskDialog.Show(System.String,System.String)">
<summary>Displays a task dialog that has a message and a title.</summary>
<param name="text">The text to display.</param>
<param name="title">The title bar caption of the dialog.</param>
</member>
<member name="M:VistaControls.TaskDialog.TaskDialog.Show(System.String,System.String,System.String)">
<summary>Displays a task dialog that has a message, a title and an instruction.</summary>
<param name="text">The text to display.</param>
<param name="title">The title bar caption of the dialog.</param>
<param name="instruction">The instruction shown below the main text.</param>
</member>
<member name="M:VistaControls.TaskDialog.TaskDialog.Show(System.String,System.String,System.String,VistaControls.TaskDialog.TaskDialogButton)">
<summary>Displays a task dialog that has a message, a title, an instruction and one or more buttons.</summary>
<param name="text">The text to display.</param>
<param name="title">The title bar caption of the dialog.</param>
<param name="instruction">The instruction shown below the main text.</param>
<param name="buttons">Value that specifies which button or buttons to display.</param>
</member>
<member name="M:VistaControls.TaskDialog.TaskDialog.Show(System.String,System.String,System.String,VistaControls.TaskDialog.TaskDialogButton,VistaControls.TaskDialog.TaskDialogIcon)">
<summary>Displays a task dialog that has a message, a title, an instruction, one or more buttons and an icon.</summary>
<param name="text">The text to display.</param>
<param name="title">The title bar caption of the dialog.</param>
<param name="instruction">The instruction shown below the main text.</param>
<param name="buttons">Value that specifies which button or buttons to display.</param>
<param name="icon">The icon to display.</param>
</member>
<member name="P:VistaControls.TaskDialog.TaskDialog.IsShowing">
<summary>Is true if the task dialog is currently displayed.</summary>
</member>
@ -365,231 +454,41 @@
<member name="E:VistaControls.TaskDialog.TaskDialog.Expanding">
<summary>Occurs when the user clicks on the expand button of the dialog, before the dialog is expanded.</summary>
</member>
<member name="T:VistaControls.TaskDialog.Message">
<summary>Stores a Task Dialog message that will be sent to a dialog in order to update its state.</summary>
<member name="E:VistaControls.SplitButton.SplitClick">
<summary>Occurs when the split label is clicked.</summary>
</member>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,System.Int32,System.Int32)">
<summary>Simple int, int message.</summary>
<member name="E:VistaControls.SplitButton.SplitMenuOpening">
<summary>Occurs when the split label is clicked, but before the associated
context menu is displayed by the control.</summary>
</member>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,System.Int32,System.Boolean)">
<summary>Simple int, bool message.</summary>
<member name="P:VistaControls.SplitButton.SplitMenuStrip">
<summary>Gets or sets the associated context menu that is displayed when the split
glyph of the button is clicked.</summary>
</member>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,System.Boolean,System.Boolean)">
<summary>Simple bool, bool message.</summary>
<member name="P:VistaControls.SplitButton.SplitMenu">
<summary>Gets or sets the associated context menu that is displayed when the split
glyph of the button is clicked. Exposed for backward compatibility.</summary>
</member>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,System.Boolean,System.Int32)">
<summary>Simple bool, int message.</summary>
<member name="T:VistaControls.SplitButton.SplitMenuEventArgs">
<summary>Provides data for the clicking of split buttons and the opening
of context menus.</summary>
</member>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,System.Int32,System.Int32,System.Int32)">
<summary>Simple int, long (hi word and lo word) message.</summary>
<member name="P:VistaControls.SplitButton.SplitMenuEventArgs.DrawArea">
<summary>Represents the bounding box of the clicked button.</summary>
<remarks>A menu should be opened, with top-left coordinates in the left-bottom point of
the rectangle and with width equal (or greater) than the width of the rectangle.</remarks>
</member>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,VistaControls.TaskDialog.Message.DialogElements,System.String)">
<summary>Text updating message.</summary>
<remarks>The string will be marshaled: the Message must be correctly disposed after use.</remarks>
<member name="P:VistaControls.SplitButton.SplitMenuEventArgs.PreventOpening">
<summary>Set to true if you want to prevent the menu from opening.</summary>
</member>
<member name="M:VistaControls.TaskDialog.Message.#ctor(VistaControls.TaskDialog.NativeMethods.TaskDialogMessages,System.Int32,VistaControls.TaskDialog.NativeMethods.TaskDialogConfig)">
<summary>Navigation message.</summary>
<remarks>The config structure will be marshaled: must be correctly disposed after use.</remarks>
<member name="T:VistaControls.Dwm.Margins">
<summary>Margins structure for the Glass Sheet effect.</summary>
</member>
<member name="T:VistaControls.TaskDialog.Message.DialogElements">
<summary>Text values that can be updated.</summary>
</member>
<member name="M:VistaControls.TaskDialog.NativeMethods.TaskDialog(System.IntPtr,System.IntPtr,System.String,System.String,System.String,System.Int32,System.IntPtr,System.Int32@)">
<summary>Direct Task Dialog call.</summary>
</member>
<member name="M:VistaControls.TaskDialog.NativeMethods.TaskDialogIndirect(VistaControls.TaskDialog.NativeMethods.TaskDialogConfig@,System.Int32@,System.Int32@,System.Boolean@)">
<summary>Indirect Task Dialog call. Allows complex dialogs with interaction logic (via callback).</summary>
</member>
<member name="T:VistaControls.TaskDialog.NativeMethods.TaskDialogConfig">
<summary>The Task Dialog config structure.</summary>
</member>
<member name="T:VistaControls.TaskDialog.NativeMethods.TaskDialogFlags">
<summary>Flags used in TaskDialogConfig struct.</summary>
<remarks>From CommCtrl.h.</remarks>
</member>
<member name="T:VistaControls.TaskDialog.NativeMethods.TaskDialogNotification">
<summary>Notifications returned by Task Dialogs to the callback.</summary>
<remarks>From CommCtrl.h.</remarks>
</member>
<member name="T:VistaControls.TaskDialog.NativeMethods.TaskDialogMessages">
<summary>Messages that can be sent to Task Dialogs.</summary>
<remarks>From CommCtrl.h.</remarks>
</member>
<member name="T:VistaControls.Dwm.Thumbnail">
<summary>Handle to a DWM Thumbnail.</summary>
</member>
<member name="M:VistaControls.Dwm.Thumbnail.Update(System.Drawing.Rectangle,System.Drawing.Rectangle,System.Byte,System.Boolean,System.Boolean)">
<summary>Updates the thumbnail's display settings.</summary>
<param name="destination">Drawing region on destination window.</param>
<param name="source">Origin region from source window.</param>
<param name="opacity">Opacity. 0 is transparent, 255 opaque.</param>
<param name="visible">Visibility flag.</param>
<param name="onlyClientArea">If true, only the client area of the window will be rendered. Otherwise, the borders will be be rendered as well.</param>
</member>
<member name="M:VistaControls.Dwm.Thumbnail.Update(System.Drawing.Rectangle,System.Byte,System.Boolean,System.Boolean)">
<summary>Updates the thumbnail's display settings.</summary>
<param name="destination">Drawing region on destination window.</param>
<param name="opacity">Opacity. 0 is transparent, 255 opaque.</param>
<param name="visible">Visibility flag.</param>
<param name="onlyClientArea">If true, only the client area of the window will be rendered. Otherwise, the borders will be be rendered as well.</param>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.IsInvalid">
<summary>Returns true if the handle is valid, false if the handle has been closed or hasn't been initialized.</summary>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.Opacity">
<summary>Sets the thumbnail opacity value, from 0 to 255 (opaque).</summary>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.ShowOnlyClientArea">
<summary>Sets whether only the client area of the thumbnailed window should be shown or
the entire window area.</summary>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.DestinationRectangle">
<summary>Area in the destination window on which the thumbnail should be drawn.</summary>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.SourceRectangle">
<summary>Region of the source window that should be drawn.</summary>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.Visible">
<summary>Sets whether the thumbnail should be drawn or not.</summary>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.SourceSize">
<summary>Gets the thumbnail's original size.</summary>
</member>
<member name="T:VistaControls.SearchTextBox">
<summary>A standard WinForms text box presenting the common Vista "search" interface.
Reacts on user input by raising "SearchStarted" events.</summary>
</member>
<member name="M:VistaControls.SearchTextBox.Dispose(System.Boolean)">
<summary>
Clean up any resources being used.
</summary>
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
</member>
<member name="M:VistaControls.SearchTextBox.InitializeComponent">
<summary>
Required method for Designer support - do not modify
the contents of this method with the code editor.
</summary>
</member>
<member name="M:VistaControls.SearchTextBox.SetFocusWithoutSelection">
<summary>Puts the focus on the text box and moves the caret to the end of the text, without selecting it.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.HoverButtonColor">
<summary>Gets or sets the background Color of the button when the mouse hovers on it.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.ActiveForeColor">
<summary>Gets or sets the ForeColor of the control when the search box is active.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.ActiveBackColor">
<summary>Gets or sets the BackColor of the control when the search box is active.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.InactiveForeColor">
<summary>Gets or sets the ForeColor of the control when the search box is inactive.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.InactiveBackColor">
<summary>Gets or sets the BackColor of the control when the search box is inactive.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.ForeColor">
<summary>Temporary ForeColor property of the control. You should use InactiveForeColor and ActiveForeColor instead.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.BackColor">
<summary>Temporary BackColor property of the control. You should use InactiveBackColor and ActiveBackColor instead.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.InactiveText">
<summary>Gets or sets the text that is shown on top of the text box when the user hasn't entered any text.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.ActiveFont">
<summary>Gets or sets the font used in the search text box.</summary>
<remarks>Equals to the Font property.</remarks>
</member>
<member name="P:VistaControls.SearchTextBox.InactiveFont">
<summary>Gets or sets the font used to write the "inactivity label" on top of the control when the user hasn't entered any text.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.Font">
<summary>Overall Font property of the control. Property changes are forwarded to the ActiveFont property.</summary>
</member>
<member name="P:VistaControls.SearchTextBox.TextEntered">
<summary>Returns true if the user entered some text in the search textbox.</summary>
</member>
<member name="T:VistaControls.OsSupport">
<member name="M:VistaControls.Dwm.Margins.IsOutsideMargins(System.Drawing.Point,System.Drawing.Size)">
<summary>
Static class providing information about the current support for Vista-only features.
Returns whether a point in client coordinates is outside the margins defined by this instance.
</summary>
</member>
<member name="P:VistaControls.OsSupport.IsVistaOrBetter">
<summary>Is true if the running operating system is Windows Vista or a more recent version.</summary>
</member>
<member name="P:VistaControls.OsSupport.IsCompositionEnabled">
<summary>Is true if the DWM composition engine is currently enabled.</summary>
</member>
<member name="P:VistaControls.TextBox.CueBannerText">
<summary>Gets or sets the cue text that is displayed on the TextBox control.</summary>
</member>
<member name="P:VistaControls.TextBox.ShowCueFocused">
<summary>Gets or sets whether the Cue text should be displyed even when the control has keybord focus.</summary>
<remarks>If true, the Cue text will disappear as soon as the user starts typing.</remarks>
</member>
<member name="P:VistaControls.Dwm.Helpers.GlassForm.GlassMargins">
<summary>Gets or sets the glass margins of the form.</summary>
</member>
<member name="P:VistaControls.Dwm.Helpers.GlassForm.HandleMouseMove">
<summary>Gets or sets whether mouse dragging should be handled automatically.</summary>
</member>
<member name="P:VistaControls.Dwm.Helpers.GlassForm.GlassEnabled">
<summary>Gets or sets whether the extended glass margin is enabled or not.</summary>
</member>
<member name="T:VistaControls.Dwm.DwmManager">
<summary>Main DWM class, provides Thumbnail registration, glass sheet effect and blur behind.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.Register(System.Windows.Forms.Form,System.IntPtr)">
<summary>Registers a thumbnail to be drawn on a Windows Form.</summary>
<remarks>The thumbnail will not be drawn until you update the thumbnail's properties calling Update().</remarks>
<param name="destination">The Windows Form instance on which to draw the thumbnail.</param>
<param name="source">The handle (HWND) of the window that has to be drawn.</param>
<returns>A Thumbnail instance, needed to unregister and to update properties.</returns>
</member>
<member name="M:VistaControls.Dwm.DwmManager.Register(System.IntPtr,System.IntPtr)">
<summary>Registers a thumbnail to be drawn on a window.</summary>
<remarks>The thumbnail will not be drawn until you update the thumbnail's properties calling Update().</remarks>
<param name="destination">The handle (HWND) of the window on which the thumbnail will be drawn.</param>
<param name="source">The handle (HWND) of the window that has to be drawn.</param>
<returns>A Thumbnail instance, needed to unregister and to update properties.</returns>
</member>
<member name="M:VistaControls.Dwm.DwmManager.Unregister(VistaControls.Dwm.Thumbnail)">
<summary>Unregisters the thumbnail handle.</summary>
<remarks>The handle is unvalid after the call and should not be used again.</remarks>
<param name="handle">A handle to a registered thumbnail.</param>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableBlurBehind(System.IntPtr)">
<summary>Enable the Aero "Blur Behind" effect on the whole client area. Background must be black.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableBlurBehind(System.Windows.Forms.Form)">
<summary>Enable the Aero "Blur Behind" effect on the whole client area. Background must be black.</summary>
<param name="form"></param>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableBlurBehind(System.IntPtr,System.IntPtr)">
<summary>Enable the Aero "Blur Behind" effect on a specific region. Background of the region must be black.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.DisableBlurBehind(System.IntPtr)">
<summary>Disables the Aero "Blur Behind" effect.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableGlassFrame(System.Windows.Forms.Form,VistaControls.Dwm.Margins)">
<summary>Extends the Aero "Glass Frame" into the client area. Background must be black.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableGlassFrame(System.IntPtr,VistaControls.Dwm.Margins)">
<summary>Extends the Aero "Glass Frame" into the client area. Background must be black.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableGlassSheet(System.Windows.Forms.Form)">
<summary>Extends the Aero "Glass Frame" to the whole client area ("Glass Sheet" effect). Background must be black.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableGlassSheet(System.IntPtr)">
<summary>Extends the Aero "Glass Frame" to the whole client area ("Glass Sheet" effect). Background must be black.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.DisableGlassFrame(System.Windows.Forms.Form)">
<summary>Disables the Aero "Glass Frame".</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.DisableGlassFrame(System.IntPtr)">
<summary>Disables the Aero "Glass Frame".</summary>
<param name="clientPoint">Point in client coordinates.</param>
</member>
<member name="T:VistaControls.Resources.ExceptionMessages">
<summary>
@ -647,75 +546,226 @@
Looks up a localized string similar to Failed to create TaskDialog..
</summary>
</member>
<member name="M:VistaControls.Native.Windows.GetActiveWindow">
<summary>Returns the active windows on the current thread.</summary>
</member>
<member name="M:VistaControls.Dwm.GlassHelper.HandleFormMovementOnGlass(System.Windows.Forms.Form,VistaControls.Dwm.Margins)">
<member name="T:VistaControls.VerticalPanel">
<summary>
Adds a handler on the Form that enables the user to move the window around
by clicking on a glass margin (or the title bar, as usual).
A vertical panel which resembles what is used for information and navigation in the Control Panel of Windows 7 and Vista.
</summary>
<param name="form">The form that will be controlled.</param>
<param name="margins">Margins of the glass sheet.</param>
<remarks>
Eventual UI elements on the glass sheet will prevent the handler from receiving events
(except the ThemeText control, which manually redirects mouse events to the form)
This control is meant to be used on the left hand side of a form, it creates a graphic border on the right hand side. Also
I have VB code for this control if anyone needs it, just send me an e-mail at bpell@indiana.edu or blakepell@hotmail.com.
</remarks>
</member>
<member name="M:VistaControls.Dwm.GlassHelper.HandleBackgroundPainting(System.Windows.Forms.Form,VistaControls.Dwm.Margins)">
<member name="M:VistaControls.VerticalPanel.#ctor">
<summary>
Adds a handler on the Form that automatically paints the glass background black
Constructor
</summary>
<param name="form">The form that will be controlled.</param>
<param name="margins">Margins of the glass sheet.</param>
</member>
<member name="T:VistaControls.Dwm.GlassHelper.HandleFormMovement">
<summary>
<remarks>
We are by default setting the background color to Color.Transparent. The reason for this is that a lot of controls that will
be used with this, namingly the Label and LinkLabel default their back color to the color of the panel and for those controls
to display properly on this panel, their BackColor will need to be Color.Transparent (otherwise, they'll display as a black
box). This should help to isolate the developer from having to research this.
</summary>
<remarks>
Handler will be kept alive by the event references on the form.
As soon as the form is disposed, the handler will be disposed as well.
</remarks>
</member>
<member name="T:VistaControls.Dwm.GlassHelper.HandleBackground">
<summary>
To reduce flicker, especially when glass is enabled, I had to set all three of the below styles.
</summary>
<remarks>
Handler will be kept alive by the event references on the form.
As soon as the form is disposed, the handler will be disposed as well.
</remarks>
</member>
<member name="E:VistaControls.SplitButton.SplitClick">
<summary>Occurs when the split label is clicked.</summary>
<member name="M:VistaControls.VerticalPanel.OnControlAdded(System.Windows.Forms.ControlEventArgs)">
<summary>
When a control is added, we will check the type and if it meets certain criteria will change some default behaviors of
the control so that it fits our theme by default. The developer can still change this as they desire after it's added.
</summary>
<param name="e"></param>
</member>
<member name="E:VistaControls.SplitButton.SplitMenuOpening">
<summary>Occurs when the split label is clicked, but before the associated
context menu is displayed by the control.</summary>
<member name="M:VistaControls.VerticalPanel.OnPaint(System.Windows.Forms.PaintEventArgs)">
<summary>
The actual painting of the background of our control.
</summary>
<param name="e"></param>
<remarks>
The colors in use here were extracted from an image of the Control Panel taken from a Windows 7 RC1 installation.
</remarks>
</member>
<member name="P:VistaControls.SplitButton.SplitMenuStrip">
<summary>Gets or sets the associated context menu that is displayed when the split
glyph of the button is clicked.</summary>
<member name="M:VistaControls.VerticalPanel.RedrawControlAsBitmap(System.IntPtr)">
<summary>
This procedure will redraw any control, given it's handl as an image on the form. This is necessary if you want to lay this
control on top of the glass surface of an Aero form.
</summary>
<param name="hwnd"></param>
</member>
<member name="P:VistaControls.SplitButton.SplitMenu">
<summary>Gets or sets the associated context menu that is displayed when the split
glyph of the button is clicked. Exposed for backward compatibility.</summary>
<member name="M:VistaControls.VerticalPanel.WndProc(System.Windows.Forms.Message@)">
<summary>
Handles incoming Windows Messages.
</summary>
<param name="m"></param>
<remarks>
On the paint event and if the RenderOnGlass is set to true, we will redraw the control as an image directly on
the form. This has a little extra overhead but also provides the ability to lay this control directly on the
glass and have it rendered correctly.
</remarks>
</member>
<member name="T:VistaControls.SplitButton.SplitMenuEventArgs">
<summary>Provides data for the clicking of split buttons and the opening
of context menus.</summary>
<member name="P:VistaControls.VerticalPanel.RenderOnGlass">
<summary>
Whether or not the control needs to be rendered on the Glass surface.
</summary>
<remarks>
This is false by default, it should only be toggled to true if the control needs to lay directly on
the glass surface of the form.
</remarks>
</member>
<member name="P:VistaControls.SplitButton.SplitMenuEventArgs.DrawArea">
<summary>Represents the bounding box of the clicked button.</summary>
<remarks>A menu should be opened, with top-left coordinates in the left-bottom point of
the rectangle and with width equal (or greater) than the width of the rectangle.</remarks>
<member name="T:VistaControls.ThemeText.ThemedLabel">
<summary>
A Label containing some text that will be drawn with glowing border on top of the Glass Sheet effect.
</summary>
</member>
<member name="P:VistaControls.SplitButton.SplitMenuEventArgs.PreventOpening">
<summary>Set to true if you want to prevent the menu from opening.</summary>
<member name="P:VistaControls.ThemeText.ThemedLabel.GlowSize">
<summary>Size of the glow effect around the text.</summary>
</member>
<member name="T:VistaControls.Dwm.Margins">
<summary>Margins structure for the Glass Sheet effect.</summary>
<member name="P:VistaControls.ThemeText.ThemedLabel.GlowEnabled">
<summary>Enables or disables the glow effect around the text.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.ShadowType">
<summary>Shadow type.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.TextAlign">
<summary>Gets or sets the horizontal text alignment setting.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.TextAlignVertical">
<summary>Gets or sets the vertical text alignment setting.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.SingleLine">
<summary>Gets or sets whether the text will be laid out on a single line or on multiple lines.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.EndEllipsis">
<summary>Gets or sets whether the text lines over the label's border should be trimmed with an ellipsis.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.WordBreak">
<summary>Gets or sets whether the text should break only at the end of a word.</summary>
</member>
<member name="P:VistaControls.ThemeText.ThemedLabel.WordEllipsis">
<summary>Gets or sets whether the text should be trimmed to the last word and an ellipse should be placed at the end of the line.</summary>
</member>
<member name="T:VistaControls.Dwm.Thumbnail">
<summary>Handle to a DWM Thumbnail.</summary>
</member>
<member name="M:VistaControls.Dwm.Thumbnail.Update(System.Drawing.Rectangle,System.Drawing.Rectangle,System.Byte,System.Boolean,System.Boolean)">
<summary>Updates the thumbnail's display settings.</summary>
<param name="destination">Drawing region on destination window.</param>
<param name="source">Origin region from source window.</param>
<param name="opacity">Opacity. 0 is transparent, 255 opaque.</param>
<param name="visible">Visibility flag.</param>
<param name="onlyClientArea">If true, only the client area of the window will be rendered. Otherwise, the borders will be be rendered as well.</param>
</member>
<member name="M:VistaControls.Dwm.Thumbnail.Update(System.Drawing.Rectangle,System.Byte,System.Boolean,System.Boolean)">
<summary>Updates the thumbnail's display settings.</summary>
<param name="destination">Drawing region on destination window.</param>
<param name="opacity">Opacity. 0 is transparent, 255 opaque.</param>
<param name="visible">Visibility flag.</param>
<param name="onlyClientArea">If true, only the client area of the window will be rendered. Otherwise, the borders will be be rendered as well.</param>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.IsInvalid">
<summary>Returns true if the handle is valid, false if the handle has been closed or hasn't been initialized.</summary>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.Opacity">
<summary>Sets the thumbnail opacity value, from 0 to 255 (opaque).</summary>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.ShowOnlyClientArea">
<summary>Sets whether only the client area of the thumbnailed window should be shown or
the entire window area.</summary>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.DestinationRectangle">
<summary>Area in the destination window on which the thumbnail should be drawn.</summary>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.SourceRectangle">
<summary>Region of the source window that should be drawn.</summary>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.Visible">
<summary>Sets whether the thumbnail should be drawn or not.</summary>
</member>
<member name="P:VistaControls.Dwm.Thumbnail.SourceSize">
<summary>Gets the thumbnail's original size.</summary>
</member>
<member name="T:VistaControls.OsSupport">
<summary>
Static class providing information about the current support for Vista-only features.
</summary>
</member>
<member name="P:VistaControls.OsSupport.IsVistaOrBetter">
<summary>
Gets whether the running operating system is Windows Vista or a more recent version.
</summary>
</member>
<member name="P:VistaControls.OsSupport.IsSevenOrBetter">
<summary>
Gets whether the running operating system is Windows Seven or a more recent version.
</summary>
</member>
<member name="P:VistaControls.OsSupport.IsCompositionEnabled">
<summary>Is true if the DWM composition engine is currently enabled.</summary>
</member>
<member name="T:VistaControls.LabeledDivider">
<summary>
The labeled divider provides a Aero styled divider with an option caption, similiar to what is seen in the
Control Panel dialogs of Windows 7 and Vista.
</summary>
</member>
<member name="M:VistaControls.LabeledDivider.#ctor">
<summary>
Constructor
</summary>
</member>
<member name="M:VistaControls.LabeledDivider.OnPaint(System.Windows.Forms.PaintEventArgs)">
<summary>
The actual painting of the background of our control.
</summary>
<param name="e"></param>
<remarks>
The colors in use here were extracted from an image of the Control Panel taken from a Windows 7 RC1 installation.
</remarks>
</member>
<member name="P:VistaControls.LabeledDivider.DividerPosition">
<summary>
The position of the divider line.
</summary>
<remarks>
The default value is the center position which is consistent on how this type of divider has been used throughout the Windows
7 and Vista UI's.
</remarks>
</member>
<member name="P:VistaControls.LabeledDivider.DividerColor">
<summary>
The color of the divider line.
</summary>
</member>
<member name="P:VistaControls.LabeledDivider.Text">
<summary>
The text that should be used for the caption. If the caption is set to blank and the divider position is set to center then
a simple divider line will be drawn.
</summary>
<remarks>
After a change is made to the text property we want to invalidate the control so it triggers a new paint message being sent.
</remarks>
</member>
<member name="T:VistaControls.LabeledDivider.DividerPositions">
<summary>
The positions that the divider line can be drawn in
</summary>
</member>
<member name="F:VistaControls.LabeledDivider.DividerPositions.Center">
<summary>
The divider will be centered after the text caption and will begin drawing after the string. This is the default behavior.
</summary>
</member>
<member name="F:VistaControls.LabeledDivider.DividerPositions.Below">
<summary>
The divider will be drawn below the text caption.
</summary>
</member>
<member name="P:VistaControls.TextBox.CueBannerText">
<summary>Gets or sets the cue text that is displayed on the TextBox control.</summary>
</member>
<member name="P:VistaControls.TextBox.ShowCueFocused">
<summary>Gets or sets whether the Cue text should be displyed even when the control has keybord focus.</summary>
<remarks>If true, the Cue text will disappear as soon as the user starts typing.</remarks>
</member>
<member name="M:VistaControls.Dwm.ThumbnailViewer.SetThumbnail(System.Windows.Forms.Form,System.Boolean)">
<summary>Sets the origin of the thumbnail and shows the thumbnail on the control.</summary>
@ -727,13 +777,215 @@
<summary>Forces and update of the thumbnail.</summary>
<remarks>Use this method if you know that the thumbnailed window has been resized and the thumbnail control should react to these changes.</remarks>
</member>
<member name="T:VistaControls.NativeMethods">
<member name="P:VistaControls.Dwm.Helpers.GlassForm.GlassMargins">
<summary>Gets or sets the glass margins of the form.</summary>
</member>
<member name="P:VistaControls.Dwm.Helpers.GlassForm.HandleMouseMove">
<summary>Gets or sets whether mouse dragging should be handled automatically.</summary>
</member>
<member name="P:VistaControls.Dwm.Helpers.GlassForm.GlassEnabled">
<summary>Gets or sets whether the extended glass margin is enabled or not.</summary>
</member>
<member name="P:VistaControls.Dwm.Helpers.GlassForm.HideTitle">
<summary>
Control style and notification constants
Gets or sets whether the window title and icon should be hidden.
</summary>
</member>
<member name="T:VistaControls.Dwm.DwmManager">
<summary>Main DWM class, provides Thumbnail registration, glass sheet effect and blur behind.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.Register(System.Windows.Forms.Form,System.IntPtr)">
<summary>Registers a thumbnail to be drawn on a Windows Form.</summary>
<remarks>The thumbnail will not be drawn until you update the thumbnail's properties calling Update().</remarks>
<param name="destination">The Windows Form instance on which to draw the thumbnail.</param>
<param name="source">The handle (HWND) of the window that has to be drawn.</param>
<returns>A Thumbnail instance, needed to unregister and to update properties.</returns>
</member>
<member name="M:VistaControls.Dwm.DwmManager.Register(System.IntPtr,System.IntPtr)">
<summary>Registers a thumbnail to be drawn on a window.</summary>
<remarks>The thumbnail will not be drawn until you update the thumbnail's properties calling Update().</remarks>
<param name="destination">The handle (HWND) of the window on which the thumbnail will be drawn.</param>
<param name="source">The handle (HWND) of the window that has to be drawn.</param>
<returns>A Thumbnail instance, needed to unregister and to update properties.</returns>
</member>
<member name="M:VistaControls.Dwm.DwmManager.Unregister(VistaControls.Dwm.Thumbnail)">
<summary>Unregisters the thumbnail handle.</summary>
<remarks>The handle is unvalid after the call and should not be used again.</remarks>
<param name="handle">A handle to a registered thumbnail.</param>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableBlurBehind(System.IntPtr)">
<summary>Enable the Aero "Blur Behind" effect on the whole client area. Background must be black.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableBlurBehind(System.Windows.Forms.Form)">
<summary>Enable the Aero "Blur Behind" effect on the whole client area. Background must be black.</summary>
<param name="form"></param>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableBlurBehind(System.IntPtr,System.IntPtr)">
<summary>Enable the Aero "Blur Behind" effect on a specific region. Background of the region must be black.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.DisableBlurBehind(System.IntPtr)">
<summary>Disables the Aero "Blur Behind" effect.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableGlassFrame(System.Windows.Forms.Form,VistaControls.Dwm.Margins)">
<summary>Extends the Aero "Glass Frame" into the client area. Background must be black.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableGlassFrame(System.IntPtr,VistaControls.Dwm.Margins)">
<summary>Extends the Aero "Glass Frame" into the client area. Background must be black.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableGlassSheet(System.Windows.Forms.Form)">
<summary>Extends the Aero "Glass Frame" to the whole client area ("Glass Sheet" effect). Background must be black.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.EnableGlassSheet(System.IntPtr)">
<summary>Extends the Aero "Glass Frame" to the whole client area ("Glass Sheet" effect). Background must be black.</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.DisableGlassFrame(System.Windows.Forms.Form)">
<summary>Disables the Aero "Glass Frame".</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.DisableGlassFrame(System.IntPtr)">
<summary>Disables the Aero "Glass Frame".</summary>
</member>
<member name="M:VistaControls.Dwm.DwmManager.SetWindowFlip3dPolicy(System.Windows.Forms.Form,VistaControls.Dwm.Flip3DPolicy)">
<summary>
Sets a window's Flip 3D policy.
</summary>
<param name="form">Form whose policy is to be set.</param>
<param name="policy">Desired Flip 3D policy.</param>
<remarks>Is ignored on OSs that do not support Aero.</remarks>
</member>
<member name="M:VistaControls.Dwm.DwmManager.SetDisallowPeek(System.Windows.Forms.Form,System.Boolean)">
<summary>
Disallows Aero Peek on a window (or allows it).
</summary>
<param name="form">Form whose Aero Peek preview should be disabled.</param>
<param name="disallowPeek">True if Aero Peek should be disabled for the window.</param>
<remarks>Is ignored on OSs that do not support Aero Peek.</remarks>
</member>
<member name="M:VistaControls.Dwm.DwmManager.SetExludeFromPeek(System.Windows.Forms.Form,System.Boolean)">
<summary>
Sets a window's state in order to exclude (or include) it in Aero Peek.
</summary>
<param name="form">Form whose Aero Peek exclusion state is to be set.</param>
<param name="excluded">Set to true to exlude the window from Aero Peek.</param>
<remarks>Is ignored on OSs that do not support Aero Peek.</remarks>
</member>
<member name="T:VistaControls.TaskDialog.TaskDialogIcon">
<summary>Common Task Dialog icons. Determine the look of the main instruction.</summary>
</member>
<member name="M:VistaControls.Native.Windows.GetActiveWindow">
<summary>Returns the active windows on the current thread.</summary>
</member>
<member name="T:VistaControls.TaskDialog.Results">
<summary>Class that aggregates the results of an "indirect" Task Dialog.</summary>
</member>
<member name="T:VistaControls.TaskDialog.Result">
<summary>Results returned by Task Dialogs when closed by the user.</summary>
</member>
<member name="M:VistaControls.TaskDialog.NativeMethods.TaskDialog(System.IntPtr,System.IntPtr,System.String,System.String,System.String,System.Int32,System.IntPtr,System.Int32@)">
<summary>Direct Task Dialog call.</summary>
</member>
<member name="M:VistaControls.TaskDialog.NativeMethods.TaskDialogIndirect(VistaControls.TaskDialog.NativeMethods.TaskDialogConfig@,System.Int32@,System.Int32@,System.Boolean@)">
<summary>Indirect Task Dialog call. Allows complex dialogs with interaction logic (via callback).</summary>
</member>
<member name="T:VistaControls.TaskDialog.NativeMethods.TaskDialogConfig">
<summary>The Task Dialog config structure.</summary>
</member>
<member name="T:VistaControls.TaskDialog.NativeMethods.TaskDialogFlags">
<summary>Flags used in TaskDialogConfig struct.</summary>
<remarks>From CommCtrl.h.</remarks>
</member>
<member name="T:VistaControls.TaskDialog.NativeMethods.TaskDialogNotification">
<summary>Notifications returned by Task Dialogs to the callback.</summary>
<remarks>From CommCtrl.h.</remarks>
</member>
<member name="T:VistaControls.TaskDialog.NativeMethods.TaskDialogMessages">
<summary>Messages that can be sent to Task Dialogs.</summary>
<remarks>From CommCtrl.h.</remarks>
</member>
<member name="T:VistaControls.HorizontalPanel">
<summary>
A horizontal panel which resembles what is used for information and navigation in the Control Panel of Windows 7 and Vista.
</summary>
<remarks>
This control is meant to be used on the left hand side of a form, it creates a graphic border on the right hand side. Also
I have VB code for this control if anyone needs it, just send me an e-mail at bpell@indiana.edu or blakepell@hotmail.com.
</remarks>
</member>
<member name="M:VistaControls.HorizontalPanel.#ctor">
<summary>
Constructor
</summary>
<remarks>
We are by default setting the background color to Color.Transparent. The reason for this is that a lot of controls that will
be used with this, namingly the Label and LinkLabel default their back color to the color of the panel and for those controls
to display properly on this panel, their BackColor will need to be Color.Transparent (otherwise, they'll display as a black
box). This should help to isolate the developer from having to research this.
To reduce flicker, especially when glass is enabled, I had to set all three of the below styles.
</remarks>
</member>
<member name="M:VistaControls.HorizontalPanel.OnControlAdded(System.Windows.Forms.ControlEventArgs)">
<summary>
When a control is added, we will check the type and if it meets certain criteria will change some default behaviors of
the control so that it fits our theme by default. The developer can still change this as they desire after it's added.
</summary>
<param name="e"></param>
</member>
<member name="M:VistaControls.HorizontalPanel.OnPaint(System.Windows.Forms.PaintEventArgs)">
<summary>
The actual painting of the background of our control.
</summary>
<param name="e"></param>
<remarks>
The colors in use here were extracted from an image of the Control Panel taken from a Windows 7 RC1 installation.
</remarks>
</member>
<member name="M:VistaControls.HorizontalPanel.RedrawControlAsBitmap(System.IntPtr)">
<summary>
This procedure will redraw any control, given it's handl as an image on the form. This is necessary if you want to lay this
control on top of the glass surface of an Aero form.
</summary>
<param name="hwnd"></param>
</member>
<member name="M:VistaControls.HorizontalPanel.WndProc(System.Windows.Forms.Message@)">
<summary>
Handles incoming Windows Messages.
</summary>
<param name="m"></param>
<remarks>
On the paint event and if the RenderOnGlass is set to true, we will redraw the control as an image directly on
the form. This has a little extra overhead but also provides the ability to lay this control directly on the
glass and have it rendered correctly.
</remarks>
</member>
<member name="P:VistaControls.HorizontalPanel.RenderOnGlass">
<summary>
Whether or not the control needs to be rendered on the Glass surface.
</summary>
<remarks>
This is false by default, it should only be toggled to true if the control needs to lay directly on
the glass surface of the form.
</remarks>
</member>
<member name="T:VistaControls.Dwm.Flip3DPolicy">
<summary>
Determines a window's Flip 3D policy.
</summary>
</member>
<member name="F:VistaControls.Dwm.Flip3DPolicy.Default">
<summary>
Default Flip 3D behavior.
</summary>
</member>
<member name="F:VistaControls.Dwm.Flip3DPolicy.ExcludeBelow">
<summary>
Excludes the window from Flip 3D and hides it behind the animation.
</summary>
</member>
<member name="F:VistaControls.Dwm.Flip3DPolicy.ExcludeAbove">
<summary>
Excludes the window from Flip 3D and shows it above the animation.
</summary>
</member>
</members>
</doc>

View file

@ -30,6 +30,7 @@
this.panel1 = new System.Windows.Forms.Panel();
this.buttonReset = new System.Windows.Forms.Button();
this.buttonCancel = new System.Windows.Forms.Button();
this.progressBar1 = new VistaControls.ProgressBar();
this.buttonUpdate = new System.Windows.Forms.Button();
this.buttonExpander = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
@ -37,7 +38,6 @@
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.label2 = new System.Windows.Forms.Label();
this.webBrowser = new System.Windows.Forms.WebBrowser();
this.progressBar1 = new VistaControls.ProgressBar();
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
this.panel1.SuspendLayout();
this.SuspendLayout();
@ -109,6 +109,15 @@
this.buttonCancel.Visible = false;
this.buttonCancel.Click += new System.EventHandler(this.Abort_click);
//
// progressBar1
//
this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.progressBar1.Location = new System.Drawing.Point(235, 79);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(102, 23);
this.progressBar1.TabIndex = 3;
this.progressBar1.Visible = false;
//
// buttonUpdate
//
this.buttonUpdate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@ -143,7 +152,8 @@
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(199, 31);
this.label1.TabIndex = 13;
this.label1.Text = Strings.UpdateDisclaimer;
this.label1.Text = "OnTopReplica automatically checks for updates. No information is logged at any po" +
"int.";
//
// linkLabel2
//
@ -156,7 +166,7 @@
this.linkLabel2.Size = new System.Drawing.Size(252, 21);
this.linkLabel2.TabIndex = 1;
this.linkLabel2.TabStop = true;
this.linkLabel2.Text = Strings.Homepage;
this.linkLabel2.Text = "Homepage: www.codeplex.com/ontopreplica.";
this.linkLabel2.UseCompatibleTextRendering = true;
this.linkLabel2.VisitedLinkColor = System.Drawing.Color.Blue;
//
@ -172,7 +182,7 @@
this.linkLabel1.Size = new System.Drawing.Size(212, 21);
this.linkLabel1.TabIndex = 0;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = Strings.CreatedBy;
this.linkLabel1.Text = "Created by: Lorenz Cuno Klopfenstein.";
this.linkLabel1.UseCompatibleTextRendering = true;
this.linkLabel1.VisitedLinkColor = System.Drawing.Color.Blue;
//
@ -184,7 +194,7 @@
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(287, 33);
this.label2.TabIndex = 10;
this.label2.Text = Strings.Slogan;
this.label2.Text = "A lightweight, real-time, always on top thumbnail of a window of your choice.";
//
// webBrowser
//
@ -198,15 +208,6 @@
this.webBrowser.Size = new System.Drawing.Size(389, 200);
this.webBrowser.TabIndex = 14;
//
// progressBar1
//
this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.progressBar1.Location = new System.Drawing.Point(235, 79);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(102, 23);
this.progressBar1.TabIndex = 3;
this.progressBar1.Visible = false;
//
// AboutForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -219,6 +220,7 @@
this.Controls.Add(this.panel1);
this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.HideTitle = true;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "AboutForm";

View file

@ -30,17 +30,7 @@ namespace OnTopReplica {
GlassEnabled = true;
GlassMargins = new VistaControls.Dwm.Margins(0, 0, themedLabel1.Size.Height, 0);
//Remove title and icon from title bar
// Code taken from: https://secure.codeproject.com/KB/vista/HideCaptionIcon.aspx
NativeMethods.WTA_OPTIONS ops = new NativeMethods.WTA_OPTIONS();
ops.Flags = NativeMethods.WTNCA_NODRAWCAPTION | NativeMethods.WTNCA_NODRAWICON;
ops.Mask = NativeMethods.WTNCA_NODRAWCAPTION | NativeMethods.WTNCA_NODRAWICON;
NativeMethods.SetWindowThemeAttribute(this.Handle,
NativeMethods.WindowThemeAttributeType.WTA_NONCLIENT,
ref ops,
(uint)Marshal.SizeOf(typeof(NativeMethods.WTA_OPTIONS))
);
//Update title
themedLabel2.Text = "v" + Application.ProductVersion.Substring(0, 3);
//Create event handlers

View file

@ -5,6 +5,7 @@ using System.Windows.Forms;
using System.Runtime.InteropServices;
using VistaControls.Dwm.Helpers;
using System.Drawing;
using System.ComponentModel;
namespace OnTopReplica {
@ -13,11 +14,12 @@ namespace OnTopReplica {
/// </summary>
public class AspectRatioForm : GlassForm {
public AspectRatioForm() {
AspectRatio = 1.0;
}
bool _keepAspectRatio = true;
/// <summary>
/// Gets or sets whether the form should keep its aspect ratio.
/// </summary>
[Description("Enables fixed aspect ratio for this form."), Category("Appearance"), DefaultValue(true)]
public bool KeepAspectRatio {
get {
return _keepAspectRatio;
@ -31,6 +33,11 @@ namespace OnTopReplica {
}
double _aspectRatio = 1.0;
/// <summary>
/// Gets or sets the form's aspect ratio that will be kept automatically when resizing.
/// </summary>
[Description("Determins this form's fixed aspect ratio."), Category("Appearance"), DefaultValue(1.0)]
public double AspectRatio {
get {
return _aspectRatio;
@ -44,6 +51,12 @@ namespace OnTopReplica {
}
Padding _extraPadding;
/// <summary>
/// Gets or sets some additional internal padding of the form that is ignored when keeping the aspect ratio.
/// </summary>
[Description("Sets some padding inside the form's client area that is ignored when keeping the aspect ratio."),
Category("Appearance")]
public Padding ExtraPadding {
get {
return _extraPadding;
@ -97,13 +110,14 @@ namespace OnTopReplica {
RefreshAspectRatio();
}
#region Event overriding
protected override void OnResizeEnd(EventArgs e) {
base.OnResizeEnd(e);
//Ensure that the ClientSize of the form is always respected (not ensured by the WM_SIZING message alone)
//Ensure that the ClientSize of the form is always respected
//(not ensured by the WM_SIZING message alone because of rounding errors and the chrome space)
if (KeepAspectRatio) {
//Since WM_SIZING already fixes up the size almost correctly,
//simply set the height to the correct value
var newHeight = (int)((ClientSize.Width - ExtraPadding.Horizontal) / AspectRatio + ExtraPadding.Vertical);
ClientSize = new Size(ClientSize.Width, newHeight);
}
@ -112,37 +126,39 @@ namespace OnTopReplica {
/// <summary>
/// Override WM_SIZING message to restrict resizing.
/// Taken from: http://www.vcskicks.com/maintain-aspect-ratio.php
/// Improved with code from: http://stoyanoff.info/blog/2010/06/27/resizing-forms-while-keeping-aspect-ratio/
/// </summary>
protected override void WndProc(ref Message m) {
if (KeepAspectRatio && m.Msg == NativeMethods.WM_SIZING) {
var rc = (NativeMethods.Rectangle)Marshal.PtrToStructure(m.LParam, typeof(NativeMethods.Rectangle));
int res = m.WParam.ToInt32();
if (res == NativeMethods.WMSZ_LEFT || res == NativeMethods.WMSZ_RIGHT) {
//Left or right resize -> adjust height (bottom)
int targetHeight = (int)Math.Ceiling((Width - ExtraPadding.Horizontal) / AspectRatio) + ExtraPadding.Vertical;
int originalHeight = rc.Bottom - rc.Top;
int diffHeight = originalHeight - targetHeight;
int width = (rc.Right - rc.Left) - clientSizeConversionWidth - ExtraPadding.Horizontal;
int height = (rc.Bottom - rc.Top) - clientSizeConversionHeight - ExtraPadding.Vertical;
rc.Top += (diffHeight / 2);
rc.Bottom = rc.Top + targetHeight;
if (res == NativeMethods.WMSZ_LEFT || res == NativeMethods.WMSZ_RIGHT) {
//Left or right resize, adjust top and bottom
int targetHeight = (int)(width / AspectRatio);
int diffHeight = height - targetHeight;
rc.Top += (int)(diffHeight / 2.0);
rc.Bottom = rc.Top + targetHeight + ExtraPadding.Vertical + clientSizeConversionHeight;
}
else if (res == NativeMethods.WMSZ_TOP || res == NativeMethods.WMSZ_BOTTOM) {
//Up or down resize -> adjust width (right)
int targetWidth = (int)Math.Ceiling((Height - ExtraPadding.Vertical) * AspectRatio) + ExtraPadding.Horizontal;
int originalWidth = rc.Right - rc.Left;
int diffWidth = originalWidth - targetWidth;
//Up or down resize, adjust left and right
int targetWidth = (int)(height * AspectRatio);
int diffWidth = width - targetWidth;
rc.Left += (diffWidth / 2);
rc.Right = rc.Left + targetWidth;
rc.Left += (int)(diffWidth / 2.0);
rc.Right = rc.Left + targetWidth + ExtraPadding.Horizontal + clientSizeConversionWidth;
}
else if (res == NativeMethods.WMSZ_RIGHT + NativeMethods.WMSZ_BOTTOM || res == NativeMethods.WMSZ_LEFT + NativeMethods.WMSZ_BOTTOM) {
//Lower-right/left corner resize -> adjust height (could have been width)
rc.Bottom = rc.Top + (int)Math.Ceiling((Width - ExtraPadding.Horizontal) / AspectRatio) + ExtraPadding.Vertical;
//Lower corner resize, adjust bottom
rc.Bottom = rc.Top + (int)(width / AspectRatio) + ExtraPadding.Vertical + clientSizeConversionHeight;
}
else if (res == NativeMethods.WMSZ_LEFT + NativeMethods.WMSZ_TOP || res == NativeMethods.WMSZ_RIGHT + NativeMethods.WMSZ_TOP) {
//Upper-left/right corner -> adjust width (could have been height)
rc.Top = rc.Bottom - (int)Math.Ceiling((Width - ExtraPadding.Horizontal) / AspectRatio) + ExtraPadding.Vertical;
//Upper corner resize, adjust top
rc.Top = rc.Bottom - (int)(width / AspectRatio) - ExtraPadding.Vertical - clientSizeConversionHeight;
}
Marshal.StructureToPtr(rc, m.LParam, true);
@ -151,15 +167,26 @@ namespace OnTopReplica {
base.WndProc(ref m);
}
#region ClientSize/Size conversion
#endregion
#region ClientSize/Size conversion helpers
//bool clientSizeConversionSet = false;
int clientSizeConversionWidth, clientSizeConversionHeight;
/// <summary>
/// Converts a client size measurement to a window size measurement.
/// </summary>
/// <param name="clientSize">Size of the window's client area.</param>
/// <returns>Size of the whole window.</returns>
public Size FromClientSizeToSize(Size clientSize) {
return new Size(clientSize.Width + clientSizeConversionWidth, clientSize.Height + clientSizeConversionHeight);
}
/// <summary>
/// Converts a window size measurement to a client size measurement.
/// </summary>
/// <param name="size">Size of the whole window.</param>
/// <returns>Size of the window's client area.</returns>
public Size FromSizeToClientSize(Size size) {
return new Size(size.Width - clientSizeConversionWidth, size.Height - clientSizeConversionHeight);
}
@ -167,8 +194,8 @@ namespace OnTopReplica {
protected override void OnShown(EventArgs e) {
base.OnShown(e);
clientSizeConversionWidth = this.Size.Width - this.ClientSize.Width;
clientSizeConversionHeight = this.Size.Height - this.ClientSize.Height;
clientSizeConversionWidth = Size.Width - ClientSize.Width;
clientSizeConversionHeight = Size.Height - ClientSize.Height;
}
#endregion

View file

@ -495,7 +495,6 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(264, 204);
this.ContextMenuStrip = this.menuContext;
this.ControlBox = false;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));

View file

@ -252,6 +252,7 @@ namespace OnTopReplica {
};
taskIcon.DoubleClick += new EventHandler(TaskIcon_doubleclick);
}
Program.Platform.InitForm(this);
//Reload position settings if needed
if (_startOverride) {
@ -267,6 +268,17 @@ namespace OnTopReplica {
SetGlass(Settings.Default.UseGlass);
}
protected override void WndProc(ref Message m) {
base.WndProc(ref m);
//Open context menu if right button clicked on caption (i.e. all of the window area because of glass)
if (m.Msg == NativeMethods.WM_NCRBUTTONUP) {
if (m.WParam.ToInt32() == NativeMethods.HTCAPTION) {
menuContext.Show(MousePosition);
}
}
}
#endregion
#region Task Icon events
@ -742,24 +754,6 @@ namespace OnTopReplica {
}
}
/*
/// <summary>Automatically fits the window to the current thumbnail.</summary>
/// <remarks>Only adjusts height and corrects the window's position.</remarks>
private void FitToThumbnail() {
if (_thumbnailPanel.IsShowingThumbnail) {
var source = _thumbnailPanel.ThumbnailOriginalSize;
double ratio = (double)source.Width / (double)source.Height;
int width = (RegionBoxShowing) ? (ClientSize.Width - _regionBox.Width) : ClientSize.Width;
//(RegionBoxShowing) ? ClientSize.Width - cRegionWithPadding : ClientSize.Width;
int newHeight = (int)(width / ratio);
int diffHeight = ClientSize.Height - newHeight;
ClientSize = new Size(ClientSize.Width, newHeight);
Location = new Point(Location.X, Location.Y + diffHeight / 2);
}
}
* */
#endregion
#region GUI stuff

View file

@ -159,7 +159,6 @@ namespace OnTopReplica
[DllImport("user32.dll")]
public static extern IntPtr GetWindow(IntPtr hwnd, GetWindowMode mode);
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern int GetWindowText(IntPtr hWnd, [Out] StringBuilder lpString, int nMaxCount);
@ -260,16 +259,21 @@ namespace OnTopReplica
public const int HTTRANSPARENT = -1;
public const int HTCLIENT = 1;
public const int HTCAPTION = 2;
public const int WM_NCHITTEST = 0x84;
public const int WM_NCPAINT = 0x0085;
public const int WM_LBUTTONDOWN = 0x0201;
public const int WM_LBUTTONUP = 0x0202;
public const int WM_LBUTTONDBLCLK = 0x0203;
public const int WM_NCLBUTTONUP = 0x00A2;
public const int WM_NCLBUTTONDOWN = 0x00A1;
public const int WM_NCLBUTTONDBLCLK = 0x00A3;
public const int WM_NCRBUTTONUP = 0x00A5;
public const int MK_LBUTTON = 0x0001;
//public const int MN_GETHMENU = 0x01E1;
public static IntPtr MakeLParam(int LoWord, int HiWord) {
return new IntPtr((HiWord << 16) | (LoWord & 0xffff));
}
@ -286,24 +290,8 @@ namespace OnTopReplica
[DllImport("user32.dll")]
public static extern IntPtr GetMenu(IntPtr hwnd);
public static uint WTNCA_NODRAWCAPTION = 0x00000001;
public static uint WTNCA_NODRAWICON = 0x00000002;
public static uint WTNCA_NOSYSMENU = 0x00000004;
public static uint WTNCA_NOMIRRORHELP = 0x00000008;
[StructLayout(LayoutKind.Sequential)]
public struct WTA_OPTIONS {
public uint Flags;
public uint Mask;
}
public enum WindowThemeAttributeType {
WTA_NONCLIENT = 1,
};
[DllImport("UxTheme.dll")]
public static extern int SetWindowThemeAttribute(IntPtr hWnd, WindowThemeAttributeType wtype, ref WTA_OPTIONS attributes, uint size);
[DllImport("user32.dll")]
public static extern short GetKeyState(VirtualKeyState nVirtKey);
}
}

View file

@ -223,6 +223,7 @@
<Compile Include="ThumbnailPanel.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="VirtualKeyState.cs" />
<Compile Include="Win32Helper.cs" />
<Compile Include="WindowHandle.cs" />
<Compile Include="WindowListHelper.cs" />

View file

@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Text;
using OnTopReplica.Platforms;
using System.Windows.Forms;
namespace OnTopReplica {
abstract class PlatformSupport {
@ -48,5 +49,12 @@ namespace OnTopReplica {
}
}
/// <summary>
/// Initialized a form.
/// </summary>
/// <param name="form">Form to initialize.</param>
public virtual void InitForm(Form form) {
}
}
}

View file

@ -1,6 +1,8 @@
using System;
using System.Collections.Generic;
using System.Text;
using VistaControls.Dwm;
using System.Windows.Forms;
namespace OnTopReplica.Platforms {
class WindowsSeven : WindowsVista {
@ -17,5 +19,12 @@ namespace OnTopReplica.Platforms {
}
}
public override void InitForm(Form form) {
base.InitForm(form);
DwmManager.SetExludeFromPeek(form, true);
DwmManager.SetDisallowPeek(form, true);
}
}
}

View file

@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using VistaControls.Dwm;
namespace OnTopReplica.Platforms {
class WindowsVista : PlatformSupport {
@ -14,5 +15,9 @@ namespace OnTopReplica.Platforms {
return true;
}
public override void InitForm(Form form) {
DwmManager.SetWindowFlip3dPolicy(form, Flip3DPolicy.ExcludeAbove);
}
}
}

View file

@ -159,8 +159,9 @@ namespace OnTopReplica {
public event RegionSetHandler RegionSet;
protected virtual void OnRegionSet(Rectangle region){
if (RegionSet != null)
RegionSet(this, region);
var evt = RegionSet;
if (evt != null)
evt(this, region);
buttonSave.Enabled = true;
}

View file

@ -256,8 +256,8 @@ namespace OnTopReplica {
}
else {
//Update visibility
_labelGlass.Visible = _glassMode;
_labelNoGlass.Visible = !_glassMode;
_labelGlass.Visible = _glassMode;
_labelNoGlass.Visible = !_glassMode;
}
}
@ -270,13 +270,13 @@ namespace OnTopReplica {
}
protected override void WndProc(ref Message m) {
//Make transparent to hit-testing
if (m.Msg == NativeMethods.WM_NCHITTEST && !DrawMouseRegions && ClickThrough) {
m.Result = new IntPtr(NativeMethods.HTTRANSPARENT);
return;
}
base.WndProc(ref m);
base.WndProc(ref m);
//Make transparent to hit-testing
if (m.Msg == NativeMethods.WM_NCHITTEST && m.Result.ToInt32() == 1 &&
!DrawMouseRegions && ClickThrough) {
m.Result = new IntPtr(NativeMethods.HTTRANSPARENT);
}
}
protected override void OnMouseClick(MouseEventArgs e) {

View file

@ -0,0 +1,195 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace OnTopReplica {
enum VirtualKeyState : int {
VK_LBUTTON = 0x01,
VK_RBUTTON = 0x02,
VK_CANCEL = 0x03,
VK_MBUTTON = 0x04,
//
VK_XBUTTON1 = 0x05,
VK_XBUTTON2 = 0x06,
//
VK_BACK = 0x08,
VK_TAB = 0x09,
//
VK_CLEAR = 0x0C,
VK_RETURN = 0x0D,
//
VK_SHIFT = 0x10,
VK_CONTROL = 0x11,
VK_MENU = 0x12,
VK_PAUSE = 0x13,
VK_CAPITAL = 0x14,
//
VK_KANA = 0x15,
VK_HANGEUL = 0x15, /* old name - should be here for compatibility */
VK_HANGUL = 0x15,
VK_JUNJA = 0x17,
VK_FINAL = 0x18,
VK_HANJA = 0x19,
VK_KANJI = 0x19,
//
VK_ESCAPE = 0x1B,
//
VK_CONVERT = 0x1C,
VK_NONCONVERT = 0x1D,
VK_ACCEPT = 0x1E,
VK_MODECHANGE = 0x1F,
//
VK_SPACE = 0x20,
VK_PRIOR = 0x21,
VK_NEXT = 0x22,
VK_END = 0x23,
VK_HOME = 0x24,
VK_LEFT = 0x25,
VK_UP = 0x26,
VK_RIGHT = 0x27,
VK_DOWN = 0x28,
VK_SELECT = 0x29,
VK_PRINT = 0x2A,
VK_EXECUTE = 0x2B,
VK_SNAPSHOT = 0x2C,
VK_INSERT = 0x2D,
VK_DELETE = 0x2E,
VK_HELP = 0x2F,
//
VK_LWIN = 0x5B,
VK_RWIN = 0x5C,
VK_APPS = 0x5D,
//
VK_SLEEP = 0x5F,
//
VK_NUMPAD0 = 0x60,
VK_NUMPAD1 = 0x61,
VK_NUMPAD2 = 0x62,
VK_NUMPAD3 = 0x63,
VK_NUMPAD4 = 0x64,
VK_NUMPAD5 = 0x65,
VK_NUMPAD6 = 0x66,
VK_NUMPAD7 = 0x67,
VK_NUMPAD8 = 0x68,
VK_NUMPAD9 = 0x69,
VK_MULTIPLY = 0x6A,
VK_ADD = 0x6B,
VK_SEPARATOR = 0x6C,
VK_SUBTRACT = 0x6D,
VK_DECIMAL = 0x6E,
VK_DIVIDE = 0x6F,
VK_F1 = 0x70,
VK_F2 = 0x71,
VK_F3 = 0x72,
VK_F4 = 0x73,
VK_F5 = 0x74,
VK_F6 = 0x75,
VK_F7 = 0x76,
VK_F8 = 0x77,
VK_F9 = 0x78,
VK_F10 = 0x79,
VK_F11 = 0x7A,
VK_F12 = 0x7B,
VK_F13 = 0x7C,
VK_F14 = 0x7D,
VK_F15 = 0x7E,
VK_F16 = 0x7F,
VK_F17 = 0x80,
VK_F18 = 0x81,
VK_F19 = 0x82,
VK_F20 = 0x83,
VK_F21 = 0x84,
VK_F22 = 0x85,
VK_F23 = 0x86,
VK_F24 = 0x87,
//
VK_NUMLOCK = 0x90,
VK_SCROLL = 0x91,
//
VK_OEM_NEC_EQUAL = 0x92, // '=' key on numpad
//
VK_OEM_FJ_JISHO = 0x92, // 'Dictionary' key
VK_OEM_FJ_MASSHOU = 0x93, // 'Unregister word' key
VK_OEM_FJ_TOUROKU = 0x94, // 'Register word' key
VK_OEM_FJ_LOYA = 0x95, // 'Left OYAYUBI' key
VK_OEM_FJ_ROYA = 0x96, // 'Right OYAYUBI' key
//
VK_LSHIFT = 0xA0,
VK_RSHIFT = 0xA1,
VK_LCONTROL = 0xA2,
VK_RCONTROL = 0xA3,
VK_LMENU = 0xA4,
VK_RMENU = 0xA5,
//
VK_BROWSER_BACK = 0xA6,
VK_BROWSER_FORWARD = 0xA7,
VK_BROWSER_REFRESH = 0xA8,
VK_BROWSER_STOP = 0xA9,
VK_BROWSER_SEARCH = 0xAA,
VK_BROWSER_FAVORITES = 0xAB,
VK_BROWSER_HOME = 0xAC,
//
VK_VOLUME_MUTE = 0xAD,
VK_VOLUME_DOWN = 0xAE,
VK_VOLUME_UP = 0xAF,
VK_MEDIA_NEXT_TRACK = 0xB0,
VK_MEDIA_PREV_TRACK = 0xB1,
VK_MEDIA_STOP = 0xB2,
VK_MEDIA_PLAY_PAUSE = 0xB3,
VK_LAUNCH_MAIL = 0xB4,
VK_LAUNCH_MEDIA_SELECT = 0xB5,
VK_LAUNCH_APP1 = 0xB6,
VK_LAUNCH_APP2 = 0xB7,
//
VK_OEM_1 = 0xBA, // ';:' for US
VK_OEM_PLUS = 0xBB, // '+' any country
VK_OEM_COMMA = 0xBC, // ',' any country
VK_OEM_MINUS = 0xBD, // '-' any country
VK_OEM_PERIOD = 0xBE, // '.' any country
VK_OEM_2 = 0xBF, // '/?' for US
VK_OEM_3 = 0xC0, // '`~' for US
//
VK_OEM_4 = 0xDB, // '[{' for US
VK_OEM_5 = 0xDC, // '\|' for US
VK_OEM_6 = 0xDD, // ']}' for US
VK_OEM_7 = 0xDE, // ''"' for US
VK_OEM_8 = 0xDF,
//
VK_OEM_AX = 0xE1, // 'AX' key on Japanese AX kbd
VK_OEM_102 = 0xE2, // "<>" or "\|" on RT 102-key kbd.
VK_ICO_HELP = 0xE3, // Help key on ICO
VK_ICO_00 = 0xE4, // 00 key on ICO
//
VK_PROCESSKEY = 0xE5,
//
VK_ICO_CLEAR = 0xE6,
//
VK_PACKET = 0xE7,
//
VK_OEM_RESET = 0xE9,
VK_OEM_JUMP = 0xEA,
VK_OEM_PA1 = 0xEB,
VK_OEM_PA2 = 0xEC,
VK_OEM_PA3 = 0xED,
VK_OEM_WSCTRL = 0xEE,
VK_OEM_CUSEL = 0xEF,
VK_OEM_ATTN = 0xF0,
VK_OEM_FINISH = 0xF1,
VK_OEM_COPY = 0xF2,
VK_OEM_AUTO = 0xF3,
VK_OEM_ENLW = 0xF4,
VK_OEM_BACKTAB = 0xF5,
//
VK_ATTN = 0xF6,
VK_CRSEL = 0xF7,
VK_EXSEL = 0xF8,
VK_EREOF = 0xF9,
VK_PLAY = 0xFA,
VK_ZOOM = 0xFB,
VK_NONAME = 0xFC,
VK_PA1 = 0xFD,
VK_OEM_CLEAR = 0xFE
}
}