diff --git a/Lib/VistaControls.dll b/Lib/VistaControls.dll new file mode 100644 index 0000000..c24dc76 Binary files /dev/null and b/Lib/VistaControls.dll differ diff --git a/Lib/VistaControls.pdb b/Lib/VistaControls.pdb new file mode 100644 index 0000000..015f990 Binary files /dev/null and b/Lib/VistaControls.pdb differ diff --git a/Lib/VistaControls.xml b/Lib/VistaControls.xml new file mode 100644 index 0000000..bef6629 --- /dev/null +++ b/Lib/VistaControls.xml @@ -0,0 +1,739 @@ + + + + VistaControls + + + + Common Task Dialog buttons. OK is the default button. + + + Class that aggregates the results of an "indirect" Task Dialog. + + + Results returned by Task Dialogs when closed by the user. + + + Represents a custom button shown on a Task Dialog. + + + Instantiates a new custom button with an ID and a text. + Unique ID that will be returned by the Task Dialog if the button is clicked. + Use values greater than 8 to prevent conflicts with common buttons. + Text label shown on the button. If you enable Command Links, a newline here + separates the upper from the lower string on the button. + + + Instantiates a new custom button with an ID and a text. + Common ID that will be returned by the Task Dialog if the button is clicked. + Text label shown on the button. If you enable Command Links, a newline here + separates the upper from the lower string on the button. + + + Unique ID that will be returned by the Task Dialog if the button is clicked. + + + Text label shown on the button. If you enable Command Links, a newline here + separates the upper from the lower string on the button. + + + + A Label containing some text that will be drawn with glowing border on top of the Glass Sheet effect. + + + + Size of the glow effect around the text. + + + Enables or disables the glow effect around the text. + + + Shadow type. + + + Gets or sets the horizontal text alignment setting. + + + Gets or sets the vertical text alignment setting. + + + Gets or sets whether the text will be laid out on a single line or on multiple lines. + + + Gets or sets whether the text lines over the label's border should be trimmed with an ellipsis. + + + Gets or sets whether the text should break only at the end of a word. + + + 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. + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + Displays a dialog box that can contain text, icons, buttons, command links, radio buttons and/or a progress bar. + + + Displays a task dialog that has a message. + The text to display. + + + Displays a task dialog that has a message and a title. + The text to display. + The title bar caption of the dialog. + + + Displays a task dialog that has a message, a title and an instruction. + The text to display. + The title bar caption of the dialog. + The instruction shown below the main text. + + + Displays a task dialog that has a message, a title, an instruction and one or more buttons. + The text to display. + The title bar caption of the dialog. + The instruction shown below the main text. + Value that specifies which button or buttons to display. + + + Displays a task dialog that has a message, a title, an instruction, one or more buttons and an icon. + The text to display. + The title bar caption of the dialog. + The instruction shown below the main text. + Value that specifies which button or buttons to display. + The icon to display. + + + Initializes a new Task Dialog instance without text. + + + Initializes a new Task Dialog instance with text. + The main instruction to display. + + + Initializes a new Task Dialog instance with an instruction and a title. + The main instruction to display. + The title of the Task Dialog. + + + Initializes a new Task Dialog instance with an instruction, a title and some content text. + The main instruction to display. + The title of the Task Dialog. + The content text that will be displayes below the main instruction. + + + Initializes a new Task Dialog instance with an instruction, a title, some content text and a specific button. + The main instruction to display. + The title of the Task Dialog. + The content text that will be displayes below the main instruction. + Specifies one or more buttons to be displayed on the bottom of the dialog, instead of the default OK button. + + + Initializes a new Task Dialog instance with an instruction, a title, some content text, a specific button and an icon. + The main instruction to display. + The title of the Task Dialog. + The content text that will be displayes below the main instruction. + Specifies one or more buttons to be displayed on the bottom of the dialog, instead of the default OK button. + The icon to display. + + + Injects a virtual button click. + Numeric id of the clicked button. + + + Injects a virtual radio button click. + Numeric id of the clicked radio button. + + + Injects a virtual checkbox click. + New state of the verification checkbox. + Sets whether the checkbox should have focus after state change. + + + Enables or disables a button of the dialog. + Id of the button whose state will be changed. + New state of the button. + + + Enables or disables a radio button of the dialog. + Id of the radio button whose state will be changed. + New state of the button. + + + Creates a new Task Dialog setup and replaces the existing one. Note that the window will not be + destroyed and that you should keep the existing TaskDialog reference (event handlers will still be + registered). The existing Task Dialog will simply reset and use the options of the new one. + An instance of Task Dialog, whose settings will be copied into the existing dialog. + You may safely destroy the nextDialog instance after use (do not register to events on it). + + + Adds or removes an UAC Shield icon from a button. + Id of the button. + Sets whether to display a Shield icon or not. + + + Sets whether the dialog's progress bar should be in standard or in marquee mode. + True if the progress bar should be displayed in marquee mode (no explicit progress). + + + Sets whether the dialog's progress bar should be in standard or in marquee mode and sets its marquee speed. + True if the progress bar should be displayed in marquee mode (no explicit progress). + Speed of the progress bar in marquee mode. + + + Common native callback for Task Dialogs. Will route events to the user event handler. + TODO: Currently unused, would need complex marshaling of data. + + + Prepares the internal configuration structure. + Allocates some unmanaged memory, must always be followed by a PostConfig() call. + + + Frees the unmanages memory allocated by PreConfig(). + + + Displays the task dialog without an explicit parent. + + + Displays the task dialog with an explicit parent window. + Handle to the dialog's parent window. + + + Displays the task dialog with an explicit parent form. + Instance of the dialog's parent form. + + + Is true if the task dialog is currently displayed. + + + Gets or sets the title of the dialog. + + + Gets or sets the icon of the dialog, from a set of common icons. + + + Gets or sets the icon of the dialog, from a custom Icon instance. + + + Gets or sets the dialog's buttons, from one or more common button types. + + + Gets or sets a set of custom buttons which will be displayed on the dialog. + These buttons can also be shown as Command Links optionally. + + + Gets or sets the integer identificator of the dialog's default button. + + + Gets or sets a set of custom buttons which will be displayed as radio buttons. + + + Gets or sets the identificator of the enabled radio button by default. + + + Gets or sets the text that will be shown next to a verification checkbox. + + + Gets or sets the text displayed on the control that enables the user to expand and collapse the dialog, + when the dialog is in expanded mode. + + + Gets or sets the text displayed on the control that enables the user to expand and collapse the dialog, + when the dialog is in collapsed mode. + + + Gets or sets the icon shown in the dialog's footer, from a set of common icons. + + + Gets or sets the icon shown in the dialog's footer, from a custom Icon instance. + + + Explicitly sets the desiderd width in pixels of the dialog. + Will be set automatically by the task dialog to an optimal size. + + + Gets or Sets the Main Instruction text of the TaskDialog. + Text written in blue and slightly bigger font in Windows Aero. + + + Gets or sets the Content text of the TaskDialog. + Text written with standard font, right below the Main instruction. + + + Gets or Sets the expanded information text, that will be optionally shown + by clicking on the Expand control. + + + Gets or Sets the Footer text. + + + Gets or sets the current Progress bar value. + + + Gets of sets the minimum value allowed by the Progress bar. + + + Gets or sets the maximum value allowed by the Progress bar. + + + Gets or sets the current Progress bar state. + Determines the bar's color and behavior. + + + Enables or disables Hyperlinks in the content (in the form of <A HREF="link">). + + + Gets or sets whether the dialog can be cancelled (ESC, ALT+F4 and X button) even if no Cancel button has been specified. + + + Gets or sets whether Command Link buttons should be used instead of standard custom buttons (doesn't apply to custom buttons, like OK or Cancel). + + + Gets or sets whether Command Link buttons wihtout icon should be used instead of standard custom buttons (doesn't apply to custom buttons, like OK or Cancel). + + + Gets or sets whether the ExpandedInformation should be shown in the Footer area (instead of under the Content text). + + + Gets or sets whether the ExpandedInformation is visible on dialog creation. + + + Gets or sets whether the Verification checkbox should be checked when the dialog is shown. + + + Gets or sets whether a progress bar should be displayed on the dialog. + + + Sets or gets whether the user specified callback (if any) should be called every 200ms. + + + Gets or sets whether the dialog should be positioned centered on the parent window. + + + Enables or disables right to left reading order. + + + Gets or sets whether there should be a selected radio button by default when the dialog is shown. + + + Gets or sets whether the dialog may be minimized or not. + + + Occurs when the Task Dialog is first created and before it is displayed (is sent after Construction event). + + + Occurs when the user clicks a button or a command link. By default the Dialog is closed after the notification. + + + Occurs when the user clicks on a Hyperlink in the Content text. + + + Occurs when a navigation event is raised. + + + Occurs approximately every 200ms if the Task Dialog callback timer is enabled. + + + Occurs when the Task Dialog is destroyed and the handle to the dialog is not valid anymore. + + + Occurs when the user selects a radio button. + + + Occurs when the Task Dialog is constructed and before it is displayed (is sent before Creation event). + + + Occurs when the user switches the state of the Verification Checkbox. + + + Occurs when the user presses F1 when the Task Dialog has focus. + + + Occurs when the user clicks on the expand button of the dialog, before the dialog is expanded. + + + Stores a Task Dialog message that will be sent to a dialog in order to update its state. + + + Simple int, int message. + + + Simple int, bool message. + + + Simple bool, bool message. + + + Simple bool, int message. + + + Simple int, long (hi word and lo word) message. + + + Text updating message. + The string will be marshaled: the Message must be correctly disposed after use. + + + Navigation message. + The config structure will be marshaled: must be correctly disposed after use. + + + Text values that can be updated. + + + Direct Task Dialog call. + + + Indirect Task Dialog call. Allows complex dialogs with interaction logic (via callback). + + + The Task Dialog config structure. + + + Flags used in TaskDialogConfig struct. + From CommCtrl.h. + + + Notifications returned by Task Dialogs to the callback. + From CommCtrl.h. + + + Messages that can be sent to Task Dialogs. + From CommCtrl.h. + + + Handle to a DWM Thumbnail. + + + Updates the thumbnail's display settings. + Drawing region on destination window. + Origin region from source window. + Opacity. 0 is transparent, 255 opaque. + Visibility flag. + If true, only the client area of the window will be rendered. Otherwise, the borders will be be rendered as well. + + + Updates the thumbnail's display settings. + Drawing region on destination window. + Opacity. 0 is transparent, 255 opaque. + Visibility flag. + If true, only the client area of the window will be rendered. Otherwise, the borders will be be rendered as well. + + + Returns true if the handle is valid, false if the handle has been closed or hasn't been initialized. + + + Sets the thumbnail opacity value, from 0 to 255 (opaque). + + + Sets whether only the client area of the thumbnailed window should be shown or + the entire window area. + + + Area in the destination window on which the thumbnail should be drawn. + + + Region of the source window that should be drawn. + + + Sets whether the thumbnail should be drawn or not. + + + Gets the thumbnail's original size. + + + A standard WinForms text box presenting the common Vista "search" interface. + Reacts on user input by raising "SearchStarted" events. + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + Puts the focus on the text box and moves the caret to the end of the text, without selecting it. + + + Gets or sets the background Color of the button when the mouse hovers on it. + + + Gets or sets the ForeColor of the control when the search box is active. + + + Gets or sets the BackColor of the control when the search box is active. + + + Gets or sets the ForeColor of the control when the search box is inactive. + + + Gets or sets the BackColor of the control when the search box is inactive. + + + Temporary ForeColor property of the control. You should use InactiveForeColor and ActiveForeColor instead. + + + Temporary BackColor property of the control. You should use InactiveBackColor and ActiveBackColor instead. + + + Gets or sets the text that is shown on top of the text box when the user hasn't entered any text. + + + Gets or sets the font used in the search text box. + Equals to the Font property. + + + Gets or sets the font used to write the "inactivity label" on top of the control when the user hasn't entered any text. + + + Overall Font property of the control. Property changes are forwarded to the ActiveFont property. + + + Returns true if the user entered some text in the search textbox. + + + + Static class providing information about the current support for Vista-only features. + + + + Is true if the running operating system is Windows Vista or a more recent version. + + + Is true if the DWM composition engine is currently enabled. + + + Gets or sets the cue text that is displayed on the TextBox control. + + + Gets or sets whether the Cue text should be displyed even when the control has keybord focus. + If true, the Cue text will disappear as soon as the user starts typing. + + + Gets or sets the glass margins of the form. + + + Gets or sets whether mouse dragging should be handled automatically. + + + Gets or sets whether the extended glass margin is enabled or not. + + + Main DWM class, provides Thumbnail registration, glass sheet effect and blur behind. + + + Registers a thumbnail to be drawn on a Windows Form. + The thumbnail will not be drawn until you update the thumbnail's properties calling Update(). + The Windows Form instance on which to draw the thumbnail. + The handle (HWND) of the window that has to be drawn. + A Thumbnail instance, needed to unregister and to update properties. + + + Registers a thumbnail to be drawn on a window. + The thumbnail will not be drawn until you update the thumbnail's properties calling Update(). + The handle (HWND) of the window on which the thumbnail will be drawn. + The handle (HWND) of the window that has to be drawn. + A Thumbnail instance, needed to unregister and to update properties. + + + Unregisters the thumbnail handle. + The handle is unvalid after the call and should not be used again. + A handle to a registered thumbnail. + + + Enable the Aero "Blur Behind" effect on the whole client area. Background must be black. + + + Enable the Aero "Blur Behind" effect on the whole client area. Background must be black. + + + + Enable the Aero "Blur Behind" effect on a specific region. Background of the region must be black. + + + Disables the Aero "Blur Behind" effect. + + + Extends the Aero "Glass Frame" into the client area. Background must be black. + + + Extends the Aero "Glass Frame" into the client area. Background must be black. + + + Extends the Aero "Glass Frame" to the whole client area ("Glass Sheet" effect). Background must be black. + + + Extends the Aero "Glass Frame" to the whole client area ("Glass Sheet" effect). Background must be black. + + + Disables the Aero "Glass Frame". + + + Disables the Aero "Glass Frame". + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to Common Controls library version 6.0 not loaded. Must run on Vista and must provide a manifest.. + + + + + Looks up a localized string similar to Desktop composition is not enabled.. + + + + + Looks up a localized string similar to Desktop composition is not supported by operating system.. + + + + + Looks up a localized string similar to Unable to get thumbnail's original size.. + + + + + Looks up a localized string similar to Unable to update thumbnail properties.. + + + + + Looks up a localized string similar to Source and target windows cannot be the same.. + + + + + Looks up a localized string similar to Native call to {0} failed.. + + + + + Looks up a localized string similar to Failed to create TaskDialog.. + + + + Returns the active windows on the current thread. + + + + 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). + + The form that will be controlled. + Margins of the glass sheet. + + 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) + + + + + Adds a handler on the Form that automatically paints the glass background black + + The form that will be controlled. + Margins of the glass sheet. + + + + + + + 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. + + + + + + + + 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. + + + + Occurs when the split label is clicked. + + + Occurs when the split label is clicked, but before the associated + context menu is displayed by the control. + + + Gets or sets the associated context menu that is displayed when the split + glyph of the button is clicked. + + + Gets or sets the associated context menu that is displayed when the split + glyph of the button is clicked. Exposed for backward compatibility. + + + Provides data for the clicking of split buttons and the opening + of context menus. + + + Represents the bounding box of the clicked button. + 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. + + + Set to true if you want to prevent the menu from opening. + + + Margins structure for the Glass Sheet effect. + + + Sets the origin of the thumbnail and shows the thumbnail on the control. + The Form instance that will be thumbnailed. + True if the control should automatically update itself in case the thumbnailed + form changes size or is closed. + + + Forces and update of the thumbnail. + Use this method if you know that the thumbnailed window has been resized and the thumbnail control should react to these changes. + + + + Control style and notification constants + + + + Common Task Dialog icons. Determine the look of the main instruction. + + + diff --git a/OnTopReplica/OnTopReplica.csproj b/OnTopReplica/OnTopReplica.csproj index f7d9c4d..01a8e7d 100644 --- a/OnTopReplica/OnTopReplica.csproj +++ b/OnTopReplica/OnTopReplica.csproj @@ -84,7 +84,7 @@ False - ..\..\..\Libraries\VistaControls\VistaControls\bin\Release\VistaControls.dll + ..\Lib\VistaControls.dll