diff --git a/Lib/WindowsFormsAero.dll b/Lib/WindowsFormsAero.dll index 8b0c5c2..3148026 100644 Binary files a/Lib/WindowsFormsAero.dll and b/Lib/WindowsFormsAero.dll differ diff --git a/Lib/WindowsFormsAero.pdb b/Lib/WindowsFormsAero.pdb index c3abab3..15f1856 100644 Binary files a/Lib/WindowsFormsAero.pdb and b/Lib/WindowsFormsAero.pdb differ diff --git a/Lib/WindowsFormsAero.xml b/Lib/WindowsFormsAero.xml index b683480..17ac4eb 100644 --- a/Lib/WindowsFormsAero.xml +++ b/Lib/WindowsFormsAero.xml @@ -4,135 +4,114 @@ WindowsFormsAero + + + Base form class that automatically sets its font according to the Windows UX guidelines. + + + + + Constructs a new Aero styled form. + + + + Common Task Dialog buttons. OK is the default button. + + + 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. + Control style and notification constants - - Gets or sets the cue text that is displayed on the TextBox control. + + Occurs when the split label is clicked. - - 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. + + Occurs when the split label is clicked, but before the associated + context menu is displayed by the control. - - A standard WinForms text box presenting the common Vista "search" interface. - Reacts on user input by raising "SearchStarted" events. + + Gets or sets the associated context menu that is displayed when the split + glyph of the button is clicked. - - Puts the focus on the text box and moves the caret to the end of the text, without selecting it. + + Gets or sets the associated context menu that is displayed when the split + glyph of the button is clicked. Exposed for backward compatibility. - - - Clean up any resources being used. - - true if managed resources should be disposed; otherwise, false. + + Provides data for the clicking of split buttons and the opening + of context menus. - - - Required method for Designer support - do not modify - the contents of this method with the code editor. - + + 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. + + - Raised when the Text of the search box has changed. + Returns whether a point in client coordinates is outside the margins defined by this instance. + Point in client coordinates. - + - Raised after an interval after the last user input. + Gets the margins value as a padding instance. + - + - Raised when the user clicks on the X to cancel the search. + Gets a static readonly 0-pixel margin. + This margin returns true on the IsNull property. - - 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 and InactiveFont property. + Gets whether this margin represents a negative measure on each side. + + Used to specify non-existing margins on glass frames. + - - Returns true if the user entered some text in the search textbox. - - + - Gets or sets the delay in milliseconds between when the text is edited - and the search event is raised. + Gets whether this margin measures 0 pixels on each side. - - - Gets or sets whether the control raises a SearchStarted event after user input. - - - - - Gets or sets whether the control raises a SearchStarted event when the user hits the Enter key. - - - - Class that aggregates the results of an "indirect" Task Dialog. - - - Results returned by Task Dialogs when closed by the user. - - - 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. - Displays a dialog box that can contain text, icons, buttons, command links, radio buttons and/or a progress bar. @@ -414,224 +393,134 @@ Occurs when the user clicks on the expand button of the dialog, before the dialog is expanded. - + + 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. + + + + Raised when the Text of the search box has changed. + + + + + Raised after an interval after the last user input. + + + + + Raised when the user clicks on the X to cancel the search. + + + + 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 and InactiveFont property. + + + + Returns true if the user entered some text in the search textbox. + + + + Gets or sets the delay in milliseconds between when the text is edited + and the search event is raised. + + + + + Gets or sets whether the control raises a SearchStarted event after user input. + + + + + Gets or sets whether the control raises a SearchStarted event when the user hits the Enter key. + + + 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.. - + + Represents a custom button shown on a Task Dialog. - - - Looks up a localized string similar to Desktop composition is not enabled.. - + + 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. - - - Looks up a localized string similar to Desktop composition is not supported by operating system.. - + + 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. - - - Looks up a localized string similar to Unable to get thumbnail's original size.. - + + Unique ID that will be returned by the Task Dialog if the button is clicked. - - - 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.. - - - - - Static class providing information about the current support for Vista-only features. - - - - - Gets whether the running operating system is Windows Vista or a more recent version. - - - - - Gets whether the running operating system is Windows Seven or a more recent version. - - - - Is true if the DWM composition engine is currently enabled. - - - - A vertical panel which resembles what is used for information and navigation in the Control Panel of Windows 7 and Vista. - - - 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. - - - - - Constructor - - - 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. - - - - - - 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. - - - - - - The actual painting of the background of our control. - - - - The colors in use here were extracted from an image of the Control Panel taken from a Windows 7 RC1 installation. - - - - - 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. - - - - - - Handles incoming Windows Messages. - - - - 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. - - - - - Whether or not the control needs to be rendered on the Glass surface. - - - 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. - - - - 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. - - - - Base form class that automatically sets its font according to the Windows UX guidelines. - - - - - Constructs a new Aero styled form. - - - - 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. + + Text label shown on the button. If you enable Command Links, a newline here + separates the upper from the lower string on the button. @@ -665,291 +554,6 @@ 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. - - - Determines a window's Flip 3D policy. - - - - - Default Flip 3D behavior. - - - - - Excludes the window from Flip 3D and hides it behind the animation. - - - - - Excludes the window from Flip 3D and shows it above the animation. - - - - - The labeled divider provides a Aero styled divider with an optional caption, - similiar to what is seen in the Control Panel dialogs of Windows 7 and Vista. - - - - - Constructor - - - - - The actual painting of the background of our control. - - - - The colors in use here were extracted from an image of the Control Panel taken from a Windows 7 RC1 installation. - - - - - The position of the divider line. - - - 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. - - - - - The color of the divider line. - - - - - 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. - - - After a change is made to the text property we want to invalidate the control so it triggers a new paint message being sent. - - - - - The positions that the divider line can be drawn in - - - - - The divider will be centered after the text caption and will begin drawing after the string. This is the default behavior. - - - - - The divider will be drawn below the text caption. - - - - Common Task Dialog buttons. OK is the default button. - - - 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". - - - - Sets a window's Flip 3D policy. - - Form whose policy is to be set. - Desired Flip 3D policy. - Is ignored on OSs that do not support Aero. - - - - Disallows Aero Peek on a window (or allows it). - - Form whose Aero Peek preview should be disabled. - True if Aero Peek should be disabled for the window. - Is ignored on OSs that do not support Aero Peek. - - - - Sets a window's state in order to exclude (or include) it in Aero Peek. - - Form whose Aero Peek exclusion state is to be set. - Set to true to exlude the window from Aero Peek. - Is ignored on OSs that do not support Aero Peek. - - - - 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. - - - - Returns the active windows on the current thread. - - - 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. - - - 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. - - - - Applies a glow on the themed text. - - - - - Default glow size. - - - - - Glow size used commonly by Office 2007 in titles. - - - - - Precise glow effect. - - - - - Instantiates a new glow effect for themed text. - - Size of the glow effect. - - - - Gets or sets the size of the glow effect. - - - - Common Task Dialog icons. Determine the look of the main instruction. - - - - Form that automatically handles glass margins and mouse dragging. - - - - - Construct a new form without glass margins. - - - - Gets or sets the glass margins of the form. - This property should be used when setting the margins from code. - - - Gets or sets the glass margins of the form. - This property should be used when setting the margins through the designer. - - - Gets or sets whether mouse dragging should be handled automatically. - - - Gets or sets whether the extended glass margin is enabled or not. - - - - Gets or sets whether the window title and icon should be hidden. - - - The window caption will still be visible, but title text and icon will not be. - A form with a hidden title will look like an Explorer window on Windows Vista or Windows 7. - - - - - Gets or sets whether the window caption should be hidden altogether. - - - Should be set before handle creation. - - A horizontal panel which resembles what is used for information and navigation in the Control Panel of Windows 7 and Vista. @@ -1053,66 +657,475 @@ 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. - - + - Returns whether a point in client coordinates is outside the margins defined by this instance. - - Point in client coordinates. - - - - Gets the margins value as a padding instance. - - - - - - Gets a static readonly 0-pixel margin. - This margin returns true on the IsNull property. + The labeled divider provides a Aero styled divider with an optional caption, + similiar to what is seen in the Control Panel dialogs of Windows 7 and Vista. - + - Gets whether this margin represents a negative measure on each side. + Constructor + + + + The actual painting of the background of our control. + + - Used to specify non-existing margins on glass frames. + The colors in use here were extracted from an image of the Control Panel taken from a Windows 7 RC1 installation. - + - Gets whether this margin measures 0 pixels on each side. + The position of the divider line. + + 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. + + + + + The color of the divider line. + + + + + 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. + + + After a change is made to the text property we want to invalidate the control so it triggers a new paint message being sent. + + + + + The positions that the divider line can be drawn in + + + + + The divider will be centered after the text caption and will begin drawing after the string. This is the default behavior. + + + + + The divider will be drawn below the text caption. + + + + + A vertical panel which resembles what is used for information and navigation in the Control Panel of Windows 7 and Vista. + + + 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. + + + + + Constructor + + + 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. + + + + + + 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. + + + + + + The actual painting of the background of our control. + + + + The colors in use here were extracted from an image of the Control Panel taken from a Windows 7 RC1 installation. + + + + + 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. + + + + + + Handles incoming Windows Messages. + + + + 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. + + + + + Whether or not the control needs to be rendered on the Glass surface. + + + 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. + + + + 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. + + + 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". + + + + Sets a window's Flip 3D policy. + + Form whose policy is to be set. + Desired Flip 3D policy. + Is ignored on OSs that do not support Aero. + + + + Disallows Aero Peek on a window (or allows it). + + Form whose Aero Peek preview should be disabled. + True if Aero Peek should be disabled for the window. + Is ignored on OSs that do not support Aero Peek. + + + + Sets a window's state in order to exclude (or include) it in Aero Peek. + + Form whose Aero Peek exclusion state is to be set. + Set to true to exlude the window from Aero Peek. + Is ignored on OSs that do not support Aero Peek. + + + + Sets a window's state in order to exclude (or include) it in Aero Peek. + + Form whose Aero Peek exclusion state is to be set. + Set to true to exlude the window from Aero Peek. + Is ignored on OSs that do not support Aero Peek. + + + Returns the active windows on the current thread. + + + 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. + + + + Static class providing information about the current support for Vista-only features. + + + + + Gets whether the running operating system is Windows Vista or a more recent version. + + + + + Gets whether the running operating system is Windows Seven or a more recent version. + + + + + Gets whether the running operating system is Windows 8 or a more recent version. + + + + Is true if the DWM composition engine is currently enabled. + + + + Form that automatically handles glass margins and mouse dragging. + + + + + Construct a new form without glass margins. + + + + Gets or sets the glass margins of the form. + This property should be used when setting the margins from code. + + + Gets or sets the glass margins of the form. + This property should be used when setting the margins through the designer. + + + Gets or sets whether mouse dragging should be handled automatically. + + + Gets or sets whether the extended glass margin is enabled or not. + + + + Gets or sets whether the window title and icon should be hidden. + + + The window caption will still be visible, but title text and icon will not be. + A form with a hidden title will look like an Explorer window on Windows Vista or Windows 7. + + + + + Gets or sets whether the window caption should be hidden altogether. + + + Should be set before handle creation. + + + + + Applies a glow on the themed text. + + + + + Default glow size. + + + + + Glow size used commonly by Office 2007 in titles. + + + + + Precise glow effect. + + + + + Instantiates a new glow effect for themed text. + + Size of the glow effect. + + + + Gets or sets the size of the glow effect. + + + + 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. + + + + Determines a window's Flip 3D policy. + + + + + Default Flip 3D behavior. + + + + + Excludes the window from Flip 3D and hides it behind the animation. + + + + + Excludes the window from Flip 3D and shows it above the animation. + + + + Common Task Dialog icons. Determine the look of the main instruction. + + + Class that aggregates the results of an "indirect" Task Dialog. + + + Results returned by Task Dialogs when closed by the user. + + + + 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.. + + + + 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. diff --git a/OnTopReplica/Platforms/WindowsEight.cs b/OnTopReplica/Platforms/WindowsEight.cs index b5ef780..c305954 100644 --- a/OnTopReplica/Platforms/WindowsEight.cs +++ b/OnTopReplica/Platforms/WindowsEight.cs @@ -8,9 +8,5 @@ using OnTopReplica.Native; namespace OnTopReplica.Platforms { class WindowsEight : WindowsSeven { - public override void PostHandleFormInit(MainForm form) { - //Noop - } - } } diff --git a/OnTopReplica/Platforms/WindowsSeven.cs b/OnTopReplica/Platforms/WindowsSeven.cs index a494248..9d768a9 100644 --- a/OnTopReplica/Platforms/WindowsSeven.cs +++ b/OnTopReplica/Platforms/WindowsSeven.cs @@ -14,7 +14,7 @@ namespace OnTopReplica.Platforms { public override void PostHandleFormInit(MainForm form) { DwmManager.SetWindowFlip3dPolicy(form, Flip3DPolicy.ExcludeAbove); - DwmManager.SetExludeFromPeek(form, true); + DwmManager.SetExcludeFromPeek(form, true); DwmManager.SetDisallowPeek(form, true); }