This section contains a summary of Rebar updates.
Version 2.0 R3
Release date: November 29, 2006
- Removed the licensing code. Rebar is now licensed under our Free Binary License.
Version 2.0 R2
Release date: August 16, 2006
- FIXED: ToolTips are displayed for disabled buttons.
- FIXED: Text on disabled buttons is drawn grayed in the Office theme.
- FIXED: When navigating menus using the keyboard, a border is drawn around disabled menu items when they are selected.
- FIXED: When navigating menus using the keyboard, menu item accelerators characters are underlined.
- FIXED: Menu item shortcuts are now recognized on all button menus (not just on menu bars).
- FIXED: RebarButtons support accelerator characters. Pressing the accelerator character (ALT+letter) for a rebar button either
clicks it or displays its menu.
Version 2.0 R1
Release date: June 6, 2006
- FIXED: Several Windows 2000 compatibility bugs.
Version 2.0
Release date: June 5, 2006
- ADDED: Customizable rebar themes create the appearance of Microsoft Office 2003 and Microsoft Money.
- ADDED: Theme support for context menus.
- ADDED: Animated logos.
- ADDED: GDI text rendering option.
- ADDED: Full-width bands, which always consume an entire row.
- ADDED: Improved design-time support for enum types (a description appears below each enum value in the drop-down list).
- CHANGED: RebarButton.ChildPadding is right-to-left aware (the Left and Right values are swapped in RTL layout mode).
- FIXED: Prevented a null reference exception being thrown at design mode while editing bands with hosted child controls.
- FIXED: Menu shortcut keys are now recognized on Rebar controls in MDI child windows.
- FIXED: Menus are properly updated when dynamically switching between RTL and LTR mode.
- FIXED: Menus overlapping a menubar do not cause the other menu to automatically display when the menu overlaps.
NEW CLASSES
| Name | Description |
|---|
| RebarMenuExtender | Provides additional properties for menu components which are used with a RebarTheme. |
| RebarTextMode | Specifies how text is drawn on a Rebar control. |
| MoneyTheme | Provides the appearance of Microsoft Money to Rebar controls and menus. |
| OfficeTheme | Provides the appearance of Microsoft Office 2003 to Rebar controls and menus. |
| RebarMenuRenderer | Provides a set of methods that can measure and draw menu items. |
| RebarTheme | Encapsulates a group of methods which draw and measure Rebar controls and menu items using a consistent theme. |
| TextRenderFlags | Provides a set of flags which determine how text is drawn and measured by the
DrawText and
MeasureText methods of
ControlRenderer. |
NEW PROPERTIES
| Name | Description |
|---|
| ControlRenderer.TextMode | Gets or sets a value that determines whether text is drawn by the .NET framework or the operating system. |
| Rebar.AnimateLogo | Gets or sets whether the logo image is being animated. |
| Rebar.DefaultTextMode | Gets or sets the text mode used by all rebar controls whose TextMode property is set to Default. |
| Rebar.Logo | Gets or sets the logo displayed in the far corner of the top row. |
| Rebar.LogoBounds | Gets the bounding rectangle which contains the logo, or Rectangle.Empty if no logo is assigned. |
| Rebar.TextMode | Gets or sets a value that determines whether text is drawn by the .NET framework or the operating system. |
| RebarBand.FullWidth | Gets or sets whether the band is the full width of the rebar. |
| RebarBandRenderer.BandType | Gets or sets whether the band is a toolbar or menu bar. |
NEW METHODS
| Name | Description |
|---|
| ControlRenderer.DrawArrow | Draws a triangle-style arrow at the specified location, using the given brush, size and angle. |
| ControlRenderer.DrawText | Draws text at the specified location using the specified Graphics object, font, color and rendering flags. |
| ControlRenderer.MeasureText | Provides the size, in pixels, of the specified text when drawn with the specified font and render flags,
using the specified size to create the initial bounding rectangle for the text. |
| ControlRenderer.GetTextRenderFlags | Gets a TextRenderFlags value which can be passed to DrawText or MeasureText
in order to draw text on the current control. |
| DrawBackground | Draws the band background onto a specified Graphics object. |
Version 1.3 Rev 3
Release date: September 30, 2005
- FIXED: Prevented a NullReferenceException from being thrown when the RebarBand.Buttons.Clear method was called during a button click.
- FIXED: The MenuClick event is now raised when showing chevron submenus for Menu and MenuOrPush items.
Version 1.3.2
Release date: July 8, 2005
- ADDED: Rebar now supports simulated XP themes and skins with Skybound FreeStyle (available as a separate product).
Simply assign a FreeStyle ControlRenderer to a Rebar as you would with any other control to apply the skin. (Skybound FreeStyle 1.1 or later is required)
- UPDATED: Minor performance optimizations.
- FIXED: An exception that was being thrown when localized customize dialogs were displayed.
- FIXED: Some IntelliSense documentation comments were being removed during the build process. It's fixed, and IntelliSense documentation is now included for all public members.
Version 1.3.1
Release date: May 26, 2005
- FIXED: Under some situations, the Customize dialog was throwing an exception while loading.
Version 1.3
Release date: May 4, 2005
- CHANGED: Eliminated product activation and greatly simplified the registration process.
- CHANGED: Refactored to a single-assembly design to eliminate problems with multi-project solutions in Visual Studio.
Version 1.2.1.0
Release date: April 15, 2005
- CHANGED: When persisting the band state, the bounds of the band are now stored in separate X, Y, Width and Height
attributes. Previously, the bounds were stored as a single, culture-dependant Bounds attribute. This change enables the band state
to be restored even after the Regional Settings change in Control Panel. Bounds is still supported for backwards compatibility,
but all newly saved layouts will be saved using the new attributes.
Version 1.2.0.0
Release date: February 18, 2005
- ADDED: Double-clicking an item in the customize dialog moves it between lists.
- ADDED: Long button names in the customize dialog are trimmed with an ellipsis (...).
- FIXED: Band locations are better remembered when shown and hidden.
- FIXED: The TestSuite and LocalizationExample projects are now compatible with Visual Studio 2002.
- FIXED: A compatibility bug that was preventing Visual Basic applications from loading Rebar on Windows NT 4.
- CHANGED: Rebar is now split into two separate assemblies: one for runtime use, and one for design-time support.
- CHANGED: The LocalizationExample now uses French.
Version 1.1.0.0
Release date: November 1, 2004
- ADDED: Built-in customize dialog allows the user configure bands at runtime. Buttons can be hidden and reorganized, text can be shown or hidden, and the image size can be changed.
- ADDED: Rebar state serialization. Save the location, configuration and visibility of the bands to XML at both design time and run time. Band states can be restored at both design time and run time.
- ADDED: Button.Visible property to dynamically show and hide buttons.
- FIXED: Mnemonics now work on OwnerDraw menu items.
NEW CLASSES
NEW PROPERTIES
| Name | Description |
|---|
| Rebar.CustomizeText | Gets or sets the text displayed on the menu item in the toggle menu that opens the customize dialog for a band. |
| Rebar.ResetState | Gets or sets the RebarState used to reset the band configuration in the customize dialog. |
| RebarBand.CanCustomize | Gets or sets whether a "Customize" menu item is displayed in the toggle menu, allowing the user to customize the band at runtime. |
| RebarBand.CustomizeAutoSize | Gets or sets whether the size of the band is automatically adjusted when the band is customized. |
| RebarBand.ShowIconOptions | Gets or sets whether the customize dialog displays a combo box to choose between small and large icons. |
| RebarBand.ShowTextOptions | Gets or sets whether the customize dialog displays a combo box to choose how text is displayed. |
| RebarButton.TextSelective | Gets or sets whether the button text is displayed when the band is customized to display selective text. |
| RebarButton.Visible | Gets or sets whether the button is visible. |
NEW METHODS
NEW EVENTS
Version 1.0.5.0
Release date: September 13, 2004
- ADDED: Choose the color depth and image size when loading an icon file at design time. Also supports loading 32-bit alpha icons.
- ADDED: RebarButton.LoadIconImage can load icons of any size or color depth (including 32-bit icons alpha icons) from an icon file at runtime.
- ADDED: RebarBand.Visible property can show and hide bands at runtime. Bands try to remember where they were.
- ADDED: RebarBand.CanToggle property determines whether a band can be made visible or hidden at runtime in the context menu.
- ADDED: Bands can be locked or unlocked at runtime in the context menu automatically by setting Rebar.LockBandsText.
- ADDED: Bands can be minimized, maximized and restored with animation when the size grip is double-clicked.
- ADDED: Turn of band animation using the Rebar.BandAnimation property.
- FIXED: Pressing an accelerator key for a label control no longer opens the rebar menu.
- FIXED: A bug that was causing chevron buttons to appear when not necessary.
- FIXED: Properly centers child controls vertically that have a fixed height, such as a combo box.
- FIXED: Disabled buttons could still be pushed if the mouse was over them when they were disabled.
- FIXED: Pressing a menu item shortcut key for a menu item would still raise MenuItem.Click even if the item was disabled.
Version 1.0.2.2
Release date: August 24, 2004
- ADDED: Description attributes to events to improve design-time support.
- FIXED: A small memory leak caused by Application.MessageFilter.
- FIXED: Updated the way images and text are centered on a button and tightened up the space between then.
- FIXED: Depressed group buttons draw using the correct visual style instead of simply looking "pushed".
- FIXED: Moving bands to a new row would sometimes cause them to be positioned improperly.
- FIXED: Small memory usage tweaks for unhandled events.
- FIXED: Buttons automatically grow to support odd size images.
Version 1.0.2.1
Release date: June 28, 2004
- ADDED: Support for Visual Studio 2002.
- FIXED: A bug that was causing text to be clipped when some non-roman characters were used.
- CHANGED: Rebar now uses the Nullsoft Scriptable Install System for installation.
Version 1.0.2.0
Release date: June 7, 2004
- ADDED: Tool tip support. Use Rebar.ToolTipProvider and RebarButton.ToolTipText.
- ADDED: Create space between child controls and bands with the RebarButton.ChildPadding property.
- ADDED: Supports version 1.0 of the .NET Framework.
- FIXED: Child controls would sometimes not hide or appear correctly.
- FIXED: Text and Cursor properties of Rebar are now hidden.
- FIXED: Using undo in the forms designer would sometimes move existing bands to a new row.
Version 1.0.1.2
Release date: March 31, 2004
- FIXED: Pressing an accelerator key when the form has no focusable controls no longer opens menus.
- FIXED: Menus now work properly when items are hidden.
- FIXED: Removed DraggingBand property from the property grid since it is not useful at design-time.
- FIXED: Improved the documentation.
Version 1.0.1.1
Release date: March 18, 2004
- FIXED: Buttons no longer stay highlighted when a dialog is shown as a result of a menu item click.
- FIXED: No cheveron is displayed on bands that have no buttons.
- FIXED: Child controls can be assigned to a RebarBand before it is added to a Rebar.
Version 1.0.1.0
Release date: March 11, 2004
Initial public release.