exmenu - what's new
18.0.0.2 Aug 07, 2024
*Added: The <solidline> and <dotline> HTML tags support color in RGB format using the <solidline RRGGBB> or <dotline RRGGBB> syntax, which indicates the color to show the solid or dotted line
*Added: The ExecuteTemplate() method can return the value of a variable. For instance, the eXSurface's PointToPosition method uses variables by reference which is not supported in PowerBuilder. For that you can use a code like ExecuteTemplate("dim x,y;x=-1;y=-1;PointToPosition(x,y);x") that returns the x-position (surface's coordinates) of the current mouse pointer. In the same manner you can use ExecuteTemplate("dim x,y;x=-1;y=-1;PointToPosition(x,y);y") to return the y-position.
*Fixed: No control frame is shown in design-mode under MS Excel's spreadsheet

18.0.0.1 Jun 10, 2024
*Added: Update the samples to support x64 configuration (/COM version)
*Fixed: The expropertieslist/com fails if the user is trying to spy the control (x64 version only, AllowSpy property, browses the object by drag and drop)
*Fixed: The top-menu items get smaller once it gets resized

17.0.0.2 Aug 09, 2023
*Added: SendCommand property specifies whether the control sends the WM_COMMAND to the parent-window once the user selects an item, open or close a popup-menu. The SendCommand property supports the following flags: 1 for Select event, 2 for OpenPopup event and 4 for ClosePopup event. The WPARAM parameter caries the identifier of the item, while LPARAM parameter of the WM_COMMAND message indicates the handle of the control (HWND for Select event), 2 ( for OpenPopup event ) and 3 ( for ClosePopup event )
*Fixed: The control may fail if using on VC++ dialogs, once a popup menu is shown. 
*Fixed: The AttachTemplate method fails if using "handle" keyword on x64 version

17.0.0.1 Mar 06, 2023
*NEW:   Ability to specify the size to show the icons within the control
*Added: ImageSize property specifies the size of the control' icons. By default, the ImageSize property is 16. The control's Images collection is cleared if the ImageSize property is changed, so it is recommended to set the ImageSize property before calling the Images method.
*Fixed: A GPF may occur on closing the form/window/dialog if one or more events are handled by AttachTemplate method

16.0.0.1 Dec 11, 2023
*Added: DPI-Aware Support
*Added: New visual appearance for all internal icons to support high DPI resolution (100%, 125%, 150%, 175%, 200% and 300%)
*Fixed: The internal icons are stretched and look distorted when DPI scaling is not 100%

15.0.0.1 Apr 26, 2022
*Added: PowerBuilder 21.0 sample
*Fixed: The "Do you want to save changes to the design of form ''? Yes, No, Cancel" message occurs in MS Access, every time the form is closed in design mode
*Fixed: Clicking (Custom) property generates "Class Not Registered" error (Windows x64, 'Looking for object with CLSID:{7EBDAAE1-8120-11CF-899F-00AA00688B10}')

14.0.0.1 Apr 14, 2021
*Added: Documentation for eXMenu/JS (http://exontrol.com/rhelp.jsp?product=exmenu&config=/js)
*Added: ExMenu.pdf (include the control's documentation in PDF format)
*Added: The Images method supports the Microsoft ImageList ( mscomctl.ocx, MSComctlLib.ImageList type) object directly. Shortly, you can define the control's images by calling Images(ImageList1.Object). The ImageList1.Object returns the object of MSComctlLib.ImageList type. The Microsoft ImageList object is available for /COM on x86 and x64 machines (starting from Access 2016)

13.0.0.2 Dec 04, 2019
*Fixed: Prevents showing the "This application is about to initialize ActiveX controls that might be unsafe. If you trust the source of this file, select OK and the controls will be initialized using your current workspace settings." warning message while the control is running into MS Office forms or user-forms.

13.0.0.1 Jul 24, 2019
*Added: Closes automatically the opened popup menus as soon as cursor hovers a different non-popup item (after a short delay).
*Fixed: The drop down menu is not closed once you select an regular-item ( OpenOnClick property is exAlwaysClick ).
*Fixed: The item's drop down menu is not shown delayed, once you hover the item.

12.0.0.1 Jun 18, 2018
*NEW:   Ability to executes x-script code ( including events ), from a string, file or a safe array of bytes. This feature allows you to load the control's visual appearance and behavior, without having to write any line of code. The x-script code can save EBNs, icons, pictures into BASE64 encoded strings, and so everything can be put into a single file, that should be invoked by AttachTemplate method. This feature allows you to run any x-script code for any configuration of the component (/COM, /NET or /WPF). 
*Added: AttachTemplate method executes the giving x-script code, and attach events if found. The x-script code can contain handle keyword that defines a handler for the specified event. For instance, the AttachTemplate("handle Click() { print(Version) }") sends the control's Version property to the debugger for display. All you need is to open the DebugView tool, and click the control.
*Added: The control's Template page supports AttachTemplate so you can assign x-script code ( including events )  in design mode, and so the control's visual appearance and behavior is changed once the control is created at runtime (/COM version only). 
*Added: ScrollOnWheel property indicates whether the menu gets scrolled once the user rotates the mouse wheel.

11.0.0.1 Feb 12, 2018
*Fixed: The ShowPopup method shows the original popup to a different position, if the user scrolls its content.
*Fixed: Corrects the shadow effect for drop down panels like filters, editors, tooltips,... on systems with DPI setting not-100%
*Fixed: Can't use the sub-popup scroll buttons, if calling directly the ShowPopup method.
*Fixed: The menu control fails, if scrolling the sub-levels using the mouse wheel, when OpenOnClick property is exAlwaysClick

10.0.0.2 Nov 13, 2017
*NEW:   Display a placeholder for missing icons, images in HTML captions.
*Added: The Key parameter of the HTMLPicture property is case insensitive, so you can display the picture using the insensitive key. For instance, <img>picA</img> is equivalent with <img>pica</img>, or <img>PICA</img> and so on.
*Added: The HTML caption shows a missing image placeholder for images whose source is missing. The missing placeholder displays the index of the icon being missing, or the key of the HTML picture being missing. 

10.0.0.1 Jul 26, 2017
*Added: The Version property includes the SpecialBuild number of the assembly so it provides information like Major.Minor.Build.Revison.SpecialBuild.Type...
*Fixed: Prevents a memory leak when loading icons, pictures, from BASE64 encoded strings (Images method, HTMLPicture picture).
*Fixed: A GPF occurs if the application is started from design mode ( demo / evaluation / trial version only )
*Fixed: Prevents "Do you want to save ..." / "Save changes...' input box, when the user opens the form in design mode, and close it.

9.0.0.5 Apr 25, 2016
*Added: Toggling the open/close state of the drop down item's submenu when the user clicks the same item ( has effect for items of the menu control, not items of sub-menus )
*Fixed: An ICO file shows as 18x18 instead of 16x16 pixels if it is loaded using the HTMLPicture method.
*Fixed: Prevents showing the control's view in design mode, while running on FORTH system ( /COM version )

9.0.0.4 Feb 10, 2016
*Added: </solidline>, </upline>, </dotline> HTML tags ends the solid, up or dotted line
*Added: Prevents showing the ,.;!?'")}] characters at the beginning of a new line, when html text is word-wrapping.
*Fixed: The last italic character of a HTML caption may be shown as clipped

9.0.0.3 Nov 25, 2015
*Added: Support for ActiveX over the /NET Framework ( ActiveX control written in C#, VB/NET, Regasm - Assembly Registration Tool, CSActiveX) 
*Added: TemplateResult property returns the result of the last call of Template property. The TemplateResultN property returns the result as numeric ( double expression ), while the TemplateResultS property returns the result of the last call of Template property, as string.
*Fixed: The ExecuteTemplate property returns Variant rather than String expression.

9.0.0.2 Oct 05, 2015
*NEW:   Support for EBN 1002 version.
*Added: The EBN 1002 allows using skin objects with horizontal, vertical stretch and colorable/not-colorable parts of the EBNs.
*Added: TemplateDef property allows defining inside variables for the Template feature ( available for /COM only, and useful to assign properties with multiple parameters, which is not supported in dBASE )

9.0.0.1 June 03, 2015
*NEW:   Windows 8.1 64-bit compatibility
*Added: The /COM 64-bit version is compatible with Microsoft Office Applications: Excel 2013, Access 2013,...
*Fixed: Exception Code: C0000005 shows up on MS Access, if leaving an edit field hosted by an item in the menu.

8.1.0.5 Apr 01, 2015
*New:   Ability to load/save the ToString format of the menu from the Control's Internal Editor
*Added: The Editor\Invoke Internal Editor\ToString section generates the code to load/save the menu using the Menu.ToString method.
*Fixed: "Visual C++ Runtime Error!" occurs if using the <fgcolor> or <bgcolor> with no indicating the color. Correct is <fgcolor RRGGBB>, instead <fgcolor>

8.1.0.4 Jan 28, 2015
*Fixed: Sometimes, the menu is not closed if pressing and releasing the ALT ( menu ) key.
*Fixed: Corrects the submenu's shadow when the menu is building at runtime ( improves the Refresh method )
*Fixed: The Item's Background color is showing on the item while it has the focus.

8.1.0.3 Oct 13, 2014
*Fixed: R6025 (pure virtual function call) occurs on MS Access if user presses the Enter key on an item that hosts an edit field ( AllowEdit property on True ).
*Fixed: The MS Access fails if creating submenus during the Highlight event
*Fixed: Aligns the submenus if the control's Border property refers an EBN object ( skin object )

8.1.0.2 Jun 18, 2014
*Added: The Refresh method updates all visible sub-menus
*Added: Prevents clearing the previously collection of items of the submenu, if the Popup property is called again with the same value.
*Fixed: Pressing the Enter or Escape key while editing an item of edit type ( AllowEdit property is True ) fails.

8.1.0.1 Jan 23, 2014
*Added: The Background(exToolTipAppearance) property may specify any color to apply to tooltip's EBN so the control's tooltip can be shown using different colors.
*Fixed: On terminal-servers (citrix), CPU-consumption varying from 1-4%, if multiple instances of the control is opened in the same time ( Exontrol.CommentWindow )
*Fixed: Removes the tooltip's shadow if time to show the tooltip is less than 250 ms, as on Windows 7, the tooltip may be displayed slower.

8.0.0.2 Dec 18, 2013
*Added: The HTML tags are case insensitive, so the < b > is equivalent with < B >
*Fixed: Aligns vertically the item's images/text when it displays custom-sized pictures using the <img> tag.
*Fixed: The & character is shown in the item's caption, instead underlined character.
*Added: The <br> HTML tag breaks the item in multiple lines. For instance, the Items.Add "Line 1<br>Line 2", adds a new item that displays two lines.

8.0.0.1 Oct 07, 2013
*NEW:   Ability to specify the images for items in hot or disabled state.
*Added: HTMLPicture("pic:hot") specifies the picture to be displayed when the cursor hovers the item that displays the picture "pic". For instance Items.Add("<img>pic</img>Text") adds an item that displays the "pic" image and the text beside. If the "pic:hot" picture exists, it is displayed when the cursor hovers it, in other words, the "pic:hot" specifies the image in hot state.
*Added: HTMLPicture("pic:disabled") specifies the image to be shown by any disabled item that includes the <img>pic HTML tag. For instance Items.Add("<img>pic</img>Text").Enabled = False adds a disabled item that displays the "pic" image and the text beside, if enabled. If item is disabled and the "pic:disabled" picture exists, it is displayed while the item is disabled, in other words, the "pic:disabled" specifies the image in the disabled state.
*Fixed: The parts of the line with different fonts in the HTML caption are vertically aligned ( instead aligning to the font's baseline ) if the line displays a picture or an icon using the <img> HTML tag.

7.0.0.3 Jul 15, 2013
*NEW:   Ability to specify ANY color to an EBN object, so you can use one EBN object to display it in any nuance, without embossing the shape and look of the EBN ( including transparent regions, and so on )
*Added: Significant improvements for control's performance while using a large number of EBN objects.
*Added: The EBN can be displayed using ANY color ( not only FF for rgb ). For instance, 0x1A88A5D indicates that EBN with the identifier 1 is displaying in Air Force blue color (#5D8AA8).
*Added: Increases the performance of parsing HTML captions.

7.0.0.2 May 22, 2013
*NEW:   Subscript and Superscript implementation in HTML captions, using the <off> HTML tag
*Added: <off>, </off> built-in HTML tags defines the vertical offset to display the element, relative to the current position. This tag is inheritable. The <off pixels>, where, pixels indicates the vertical offset to be applied ). For instance, the following text displays a text with Subscript and Superscript such as: "Text <off 4>with subscript</off> <off -4>and superscript</off> support"
*Added: The <fgcolor=0000FF> and <fgcolor FF>, or <bgcolor=00FF00> and <bgcolor FF00>, so no = or full 6 hexa-digits are required to define the color to be applied
*Fixed: The <font> HTML tag is not overwritten when using inside another <font> tag

7.0.0.1 Mar 20, 2013
*NEW:   New text decorations support for HTML captions, like outlined characters, shadow, ....
*Added: <gra>, </gra> built-in HTML tags define a gradient text ( the <gra> supports color, mode and blending, like <gra rrggbb;mode;blend>, where, rr/gg/bb represents the red/green/blue values of the ending color, 808080 if missing as gray, mode a value between 0 and 4, 1 if missing, and blend 0 or 1, 0 if missing )
*Added: <out>, </out> built-in HTML tags define a text to show with outlined characters ( the <out> supports color and width, like <out rrggbb;width>, where rr/gg/bb represents the red/green/blue values of the outline color, 808080 if missing as gray, width indicates the size of outline, 1 if missing.
*Added: <sha>, </sha> built-in HTML tags define a text with a shadow ( the <sha> supports color, width and offset, like <out rrggbb;width;offset>, where rr/gg/bb represents the red/green/blue values of the shadow color, 808080 if missing as gray, width indicates the size of shadow, 4 if missing, and offset indicates the offset from the origin to display the text's shadow, 2 if missing.

6.1.0.4 Jan 30, 2013
*Fixed: In MS Access, the control loses its data once the Visible property is set on False or when the control is hosted to a tab control, and user changes the pages.
*Fixed: In MS Access, can't use the F2 key to unselect the current edit field.
*Fixed: The MSAccess 97 may fail on some machines while editing the code in the Module section, after opening a form with the eXMenu inside.
*Fixed: The Template property shows no ... button in the properties browser.

6.1.0.3 Dec 06, 2012
*Fixed: The control overrides all Alt+(some key) combinations, even if there is no accelerator for the combination in the control.
*Fixed: On Windows 7, the user can not open the open file dialog on MSDEV using the ShowImageList property ( VC 6.0 )
*Fixed: Removing a popup menu from control's internal editor ( design mode only ) fails, after clicking the OK button

6.1.0.2 Oct 03, 2012
*Added: "Property let procedure not defined and property get procedure did not return an object" runtime-error '451' occurs in VB if calling to assign a picture using its reference when using the Set .HTMLPicture statement.
*Added: Sends a WM_COMMAND message to the parent window, when sub menu is about to be opened ( equivalent with the OpenPopup event ). For instance In VFP9, you can use the BINDEVENT( thisform.hWnd, 273, thisform, "myselect" ) to catch the WM_COMMAND messages, instead catching the OpenPopup event which is not fired from modal forms, for _SCREEN object. The lParam parameter is 2, indicating the OpenPopup event ( event's identifier - 1 )
*Added: Sends a WM_COMMAND message to the parent window, when sub menu is about to be closed ( equivalent with the ClosePopup event ). For instance In VFP9, you can use the BINDEVENT( thisform.hWnd, 273, thisform, "myselect" ) to catch the WM_COMMAND messages, instead catching the ClosePopup event which is not fired from modal forms, for _SCREEN object. The lParam parameter is 3, indicating the ClosePopup event ( event's identifier - 1 )

6.1.0.1 Jun 11, 2012
*Added: The /COM version can be dropped to the eXPropertiesList control as an object.
*Added: The Template or ExecuteTemplate properties may contain several commands separated by ; not only cariage returns.
*Fixed: Removes the tooltip's shadow if time to show the tooltip is less than 250 ms, as on Windows 7, the tooltip may be displayed slower.

6.0.0.8 May 09, 2012
*Fixed: The drop down portion of the main menu is opened once the cursor hovers the menu bar, while the ShowPopup method is performed.
*Fixed: Prevents displaying the "OnMessageHook" in the Output panel ( OutputDebugString )
*Fixed: The Visibility property does not support all values from 0 to 100 contiguously.

6.0.0.7 Mar 19, 2012
*Added: ScrollOnDrop property specifies the effect to show the popup menu when clicking an item, such as scrolling or fading effect. Previously, the type of the ScrollOnDrop property is Boolean, while currently it is of ShowPopupEffectEnum enumeration type. By default, the ScrollOnDrop property is exShowPopupLightUp
*Fixed: Sometimes, the tooltip is not shown for sub-items ( items in the drop down portion of the control )
*Fixed: Prevents showing the highlight of the top-item when using the ShowPopup method.

6.0.0.6 Jan 17, 2012
*Added: Focusable property gets or sets a value that indicates whether the control can receive focus.
*Fixed: Updates the control's Enabled state when the menu is placed on _SCREEN object of the Visual FoxPro.
*Fixed: Sometimes, the menu's background is not erased when the ScrollOnDrop property is True, and the mouse is moved quickly.

6.0.0.5 Oct 19, 2011
*Added: Sends a WM_COMMAND message to the parent window, when a new item gets selected ( equivalent with the Select event ). For instance In VFP9, you can use the BINDEVENT( thisform.hWnd, 273, thisform, "myselect" ) to catch the WM_COMMAND messages, instead catching the Select event which is not fired from modal forms, for _SCREEN object. The lParam parameter is 0, indicating the Select event ( event's identifier - 1 )
*Fixed: Restores the focus to previously window when ShowPopup() method is used.
*Fixed: Prevents using the arrow keys by focused element, when the sub-menu is opened using the ShowPopup() method
*Fixed: Small correction on popup's shadow when using the ShowPopup() method on a different position.

6.0.0.4 Sep 07, 2011
*Fixed: In VFP9, I get a hourglass cursor, if I move the cursor out of the menu when using the ShowPopup() method for control with the Visible property set on False.
*Fixed: The top line is not show when opening separately the popup menu using the ShowPopup() method
*Fixed: The arrow keys do not navigate through the items, when showing the popup at runtime, using the ShowPopup() method
*Fixed: The left or right keys may open a new sub-menu of the main menu, if using the ShowPopup() method

6.0.0.3 Aug 30, 2011
*NEW:   Ability to specify any COLOR for the control's frame/border/appearance if using EBN objects.
*Added: The Background(exToolTipAppearance) property may specify any color to apply to tooltip's EBN so the control's tooltip can be shown using different colors.
*Fixed: Extra characters are inserted in the next line if the breaking element is a picture that does not fit the current line.
*Fixed: Ignores the ending HTML tags, if they are not used previously ( for instance, the < /b > is not displayed in the sequence "ABC< /b >" )

6.0.0.2 Aug 15, 2011
*NEW:   Inheritance for HTML attributes on multiple line ( for instance, the < b > is inherited on multiple lines, until the < /b > tag is found)
*NEW:   The < font > or < img > can change the height of the HTML line, so HTML captions can display lines with different heights.
*Added: The HTML captions allow using not-nested elements to be used. (for instance the sequence "< b >1< s >23< /b >4< /s>" displays 123 in bold while the 234 are shown in strikeout )
*Added: The < c > HTML tag centers the line. Similar with < r > HTML tag.

6.0.0.1 Apr 06, 2011
*NEW:   VisualAppearance.Add reads EBN files from byte[] or safe arrays of VT_I1 or VT_UI1. In other words, you can add EBN files directly to resources and use them as .VisualAppearance.Add(ID, Namespace.My.Resources.EBN) for vb/net or .VisualAppearance.Add(ID, Namespace.Properties.Resources.EBN) for c#, where the ID is the new identifier to be added, and the EBN is the identifier in the resource for the EBN file.
*Fixed: The shadow border of the menu is shown in black if the menu is shown in a not primary monitor
*Fixed: The MDI form requires an extra click to activate it, once a modeless dialog is closed. The dialog contains a VB6 UserControl that hosts the control. ATL3.0 BUG
*Fixed: Improves the performance of the control when using the shadow border ( by default )

5.0.0.2 Aug 07, 2009
*NEW:   PNG support for HTMLPicture, and so for ItemCaption property
*Added: PNG, TIFF, EXIF or WMF image format support.
*Added: Changing the way the colors are being applied to EBN objects.
*Added: The Template feature supports hexa values being specified using format 0x prefix.

5.0.0.1 April 14, 2009
*NEW:   Ability to change the parameters passed by reference of the control's events for environments that does not support events with parameters by reference, such as uniPaas 1.5 (formerly known as eDeveloper), DBase, and so on
*Added: 64-bit support
*Added: Updates the visual aspect of the control's tooltip based on the current theme, if active, and not using EBN object for its appearance.
*Added: EventParam() property accesses a specified parameter of the current event. This property has effect only during an event, and can be used to change or retrieve a specified parameter of the current event
*Added: EventParam(-1) retrieves the number of parameters that can be accessed.

4.2.0.1 January 13, 2009
*Added: Compatible with the Data Execution Prevention (DEP). (SpecialBuild:8000)
*Fixed: The excel vba fires "Run-time error '28', Out of Stack space", when running an user-form. ( IQuickActivate )
*Fixed: The Items.SubControl component shows up when hosted an Exontrol component.

4.1.0.1 December 05, 2008
*Added: OleEvent.ToString property retrieves information about the OLE event, including the name, parameters and values.
*Added: OleEvent.ID property retrieves a long expression that indicates the identifier of the OEL event being fired.

4.0.0.3 November 05, 2007
*Added: The HTML captions handles the glyph characters as follows: & ( & ), < ( < ), > ( > ), &qout ( " ), &#number. For instance, the € displays the EUR character, in UNICODE configuration. The & ampersand is only recognized as markup when it is followed by a known letter or a `#' and a digit.
*Added: The x-script supports dates as #12/31/2007 10:00# indicates the December 31, 2007, 10:00
*Fixed: A VARIANT parameter passed by reference during OleEvent event can not be changed.

4.0.0.2 June 21, 2007
*Added: ToolTipFont property specifies the tooltip's font.
*Fixed: Some inside ActiveX controls requires activation before accessing it through the Control.Object property

4.0.0.1 May 14, 2007
*NEW:   Ability to change the visual appearance of the control's borders using skins, including transparent areas or round borders too.
*Added: Border property specifies a predefined border for the menu, or a color expression whose last 7 bits in the high significant byte of the value indicates the index of the skin in the Appearance collection, being displayed as menu's borders. For instance, if the Appearance = 0x1000000, indicates that the first skin object in the Appearance collection defines the menu's border.
*Added: MenuBarBorder property specifies a predefined border for the menu bar, or a color expression whose last 7 bits in the high significant byte of the value indicates the index of the skin in the Appearance collection, being displayed as menubar's borders. For instance, if the Appearance = 0x1000000, indicates that the first skin object in the Appearance collection defines the menubar's border.
*Added: Background(exToolTipAppearance) property specifies the visual appearance of the tooltip's borders. For instance, if the Background(exToolTipAppearance) = 0x2000000, indicates that the second skin object in the Appearance collection defines the tooltip's border. 
*Added: Background(exToolTipBackColor) property indicates the tooltip's background color, if this is not 0. By default, the system indicates the tooltip's background, while the Background(exToolTipBackColor) property is 0.
*Added: Background(exToolTipForeColor) property specifies the tooltip's foreground color, if this is not 0. By default, the system indicates the tooltip's foreground color, while the Background(exToolTipForeColor) property is 0.

3.0.0.3 March 09, 2007
*Added: <font face;size> built-in HTML tag that specifies the font and the size to draw a portion of text until </font> is found. 
*Added: ExecuteTemplate property retrieves a Variant value, instead of a String, so it can returns Objects too.
*Added: Adds more accurate icons when you drag files to the control's images panel

3.0.0.2 January 18, 2007
*Added: ExecuteTemplate property, runs a template and retrieves a value of the variable in the template.
*Added: The UNICODE version can read projects saved using the ANSI version, and reverse.

3.0.0.1 September 06, 2006
*NEW:   Customizable Windows XP Theme support
*Added: Item.UserData property. Associates an extra data to the item.

2.0.0.9 August 03, 2006
*NEW:   Ability to load and display custom size pictures to HTML captions.
*Added: HTMLPicture property. Adds or replaces a picture being used in the HTML captions.
*Added: <img> built-in tag supports pictures. For instance, the <img>pic1</img> displays the pic1 picture being loaded using the HTMLPicture("pic1")
*Fixed: Removes the beep when the user presses the Enter key in the item's edit control.

2.0.0.8 June 08, 2006
*Added: OpenOnClick property. Sets or gets a value that indicates the way how the user opens the menus, using the mouse.
*Added: Item.CheckEffect property. Specifies the visual effect of the checkbox in the item.
*Fixed: Aligns vertically the drop down popup menu, so it fits the monitor.
*Fixed: Restores the focus, when an inside edit control gets the focus.

2.0.0.7 April 18, 2006
*NEW:   The Template supports calling multiple properties in the same line using the . (dot) separator. For instance, the 'Items.Add("Item 1",2).SubMenu' statement adds a new popup menu, and gets the newly created sub menu.
*Fixed: On Windows XP, the comctl32 library is improperly released, if the application runs with a manifest file.

2.0.0.6 March 17, 2006
*Fixed: The MSAccess fails on closing the active window, when the user presses CTRL+F4 shortcut key ( close active window ).

2.0.0.5 January 09, 2006
*NEW:   WYSWYG Template/Layout Editor
*NEW:   Ability to insert icons anywhere in the item's caption
*Added: Template property. Specifies the control's template content. It holds a collection of properties and their values, methods and objects, into a TEXT file. The template file combines XML style with something close to VBScript.

2.0.0.4 November 28, 2005
*NEW:	Ability to load properties of the control in web pages, without using BLOB data
*Added: Menu.ToString property. Saves or loads the menu from a formatted string.
*Added: Ability to copy and paste items in the WYSWYG exmenu designer.

2.0.0.3 November 17, 2005
*Added: Cursor property. Specifies the shape of the cursor when the mouse hovers the menu bar.
*Added: Item.Cursor property. Specifies the shape of the cursor when the mouse hovers the item.
*Added: Menu.Cursor property. Specifies the shape of the cursor when the mouse hovers the sub menu.
*Added: Item.EditBorder property. Specifies the border around the edit control inside the item.
*Added: EditChange event is fired when user alters the text and a new items is highlighted.

2.0.0.2 Spetember 18, 2005
*Added: Item.EditWidth property. Specifies the width of the inside edit control. The property has effect if the AllowEdit property is True.
*Added: Full height line separator in the menu bar.

2.0.0.1 June 21, 2005
*NEW:   Skinnable Interface support ( ability to apply a skin to any background part )
*Added: Appearance object. Defines a collection of skins.
*Added: VisualAppearance property. Specifies an object that defines the control's visual appearance.
*Added: Background property. Specifies a background color or a skin for different parts like drop down filter button, closing filter bar button and so on.
*Fixed: The control gains the focus when the cursor hovers the menu bar.

1.0.4.0 April 13, 2005
*Help:  Updated
*Help:  Adding VB, VC++, VB.NET, C# and VFP syntax in the help file.
*Added: Debug property. Displays the identifier for the items.

1.0.3.9 February 18, 2005
*Added: The OpenPopup event allows dynamically show or hide, enable or disable menu items based on conditions,
*Added: Updates the identifiers ten by ten in the design mode.

1.0.3.8 November 05, 2004
*Added: CloseOnEnum.exClick value. The ActiveX sub menu is closed when the user presses any of the mouse buttons.
*Added: CloseOnEnum.exDblClick value. The ActiveX sub menu is closed when the user double clicks any of the mouse buttons.
*Fixed: Misc Active/X hosting.
*Added: VB\UNICODE sample

1.0.3.7 October 08, 2004
*Added: Menu.Width property. Retrieves or sets a value that indicates the width of the menu.
*Fixed: The order of OpenPopup, Select, ClosePopup events is OpenPopup, ClosePopup, Select when using the keyboard.

1.0.3.6 August 31, 2004
*Added: Selects an item using the ALT + key, if the key preceded by a underscore character.
*Fixed: The choose color dialog is not shown when clicking the foreground or background buttons in the menu's designer.

1.0.3.5 July 11, 2004
*Added: SelectOn property. Specifies whether the control selects an item when user presses or releases the mouse button.
*Added: Avoids selecting an item if the user clicks the item's edit area.
*Fixed: The ID parameter is ignored when adding a new separator using the Menu.Add method.

1.0.3.4 May 26, 2004
*Added: Scrolls the menu using the keyboard.
*Added: Selects the entire text inside an edit control while it gains the focus.
*Fixed: F1, ... , F12 keys calls Select event, if there are mnemonics with the same character code as F1, ... F12 keys.

1.0.3.3 May 12, 2004
*Added: Activates the item that contains an edit box using the shortcut key, instead selecting it.
*Added: Allows using the shortcut keys when multiple controls is on the same form.
*Fixed: Disables activating an item using its shortcut key, when the form is not active.
*Fixed: Avoids using the shortcuts while the control is hidden.

1.0.3.2 March 23, 2004
*NEW:   Avoid displaying partially menus, when popup menu exceeds the right margin of the screen,
*NEW:   Ability to scroll the menu bar, instead using the chevron.
*Added: Displays the control's content in the VFP-IDE (design mode ).
*Added: AllowChevron property of ChevronEnum type. Retrieves or sets a value that indicates whether the control programatically displays the chevron or the scroll.
*Added: ScrollImage( Left ) property specifies the index of icon being used to display the left and right scrolling items.
*Added: ItemHeight(Appearance) property. Specifies the item's height.
*Fixed: The ID parameter of the Menu.Add method is ignored for EXMENULibCtl.ItemTypeEnum.SubMenu, or EXMENULibCtl.ItemTypeEnum.SubControl types.
*Fixed: The ampersand assigned for a shortcut shows and the underline disappears, for a disabled item
*Fixed: When using the .AllowEdit property, you may not use any underline shortcuts on the same menu, because another item is activated.

1.0.3.1 January 15, 2004
*NEW:   Ability to load the Images using base64 encoded strings.
*Added: The Images method supports base64 encoded strings that holds a list of icons. 

1.0.3.0 January 04, 2004
*Added: Item.Visible property. Specifies whether the item is visible or hidden.
*Fixed: Remove space to the left or right so the menu bar isn't so spaced out horizontally, when the menu is Flat and no icons are on the menu bar.

1.0.2.9 October 02, 2003
*Fixed: The size of the application's resource is not reduced when removing the last icon in the control's images list.

1.0.2.8 September 22, 2003
*Help:  Updated

1.0.2.7 September 03, 2003
*NEW:	Chevron support.
*NEW:   Scroll effect when the drop down window is shown.
*Added: ScrollOnDrop property. Specifies a value that indicates whether the popup window is scrolled when it is shown.
*Added: ToolTipWidth property. Specifies a value that indicates the width of the tooltip window, in pixels.
*Added: AllowChevron property. Retrieves or sets a value that indicates whether the control programatically displays the chevron.
*Added: ChevronImage property. Retrieves or sets a value that indicates the index of icon being displayed as a chevron.
*Fixed: The control's images panel loads only 16 colors icons by dragging.

1.0.2.6 July 21, 2003
*NEW:   HTML Tooltip support.
*Added: ToolTipDelay property. Specifies the time in ms that passes before the ToolTip appears.
*Added: ToolTipPopDelay property. Specifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control.
*Added: Item.Tooltip property. Specifies the item's tooltip.
*Added: Item.TooltipTitle property. Specifies the tiltle of the item's tooltip.

1.0.2.5 March 10, 2003
*Help:  Updated
*Added: Ability to load new icon files to images panel, by pressing the INSERT key.

1.0.2.4 February 24, 2003
*NEW:   Ability to add ActiveX to any sub menu.
*Added: ItemTypeMenu.SubControl. Adds a sub menu that hosts an ActiveX control. 
*Added: Control object. Holds information about an ActiveX control that hosted by a sub menu
*Added: Item.Control property. Specifies whether the item contains an ActiveX control
*Added: Item.SubControl property. Gets the Control object, if the item contains ActiveX control.
*Added: OleEVent( ID, Ev ) event. Fired when an ActiveX control fires an event.
*Added: VB\ActiveX sample

1.0.2.3 February 12, 2003
*Help:  Updated

1.0.2.2 January 08, 2003
Added*: Microsoft Layer for Unicode on Windows 95/98/Me Systems.

1.0.2.1 November 19, 2002
*Added: OpenOnClick property. Opens the popup menu when the user clicks the menu bar,
*Fixed: Item.BackColor property misc fixes.

1.0.2.0 November 02, 2002
*Added: XP shadow effect.
*Fixed: The menu editor is not modal.
*Fixed: Sometime the control fails on Windows 98.
*Chang: All samples updated

1.0.1.9 October 20, 2002
<b>If your are using a WEB browser to check these notes, please select View\Source to see the correct HTML tags used.</b>
*NEW:   Ability to use built-in HTML format inside item. (<b>F</b>ile)
	The following tags are supported:
		<b> tag - draws a text bolded until </b> is reached.
		<i> tag - draws the text using italic font attribute until </i> is reached.
		<s> tag - draws the text using strikeout font attribute until </s> is reached.
		<u> tag - draws the text using underline font attribute until </u> is reached.
		<fgcolor=RRGGBB> tag - draws the text using the RGB(RR,GG,BB) foreground color. </u>, until </fgcolor> is reached. RR, GG and BB should be hexa values
		<bgcolor=RRGGBB> tag - draws the text using the RGB(RR,GG,BB) background color. </u>, until </bgcolor> is reached. RR, GG and BB should be hexa values
	For instance: the HTML formatting "<b>Inbox</b> <fgcolor=0000FF>(78)</fgcolor></b>" draws the 'Inbox' using bold font attribute, and '(78)' using the blue foreground color.
*Fixed: Menu fails, if it contains an item that hosts an edit control.

1.0.1.8 September 30, 2002
*NEW:   .NET Ready / Tested with .NET RCW
*Fixed: Building the VB EXE project fails while a form hosts the exMenu component, and it's opened.
*Added: NET\Accelerator sample.

1.0.1.7 September 9, 2002
*Added: Version property. Retrieves the control's version.
*Added: Align property. A MDI Form can host the exMenu control.
*Added: VB\MDIForm sample

1.0.1.6 September 4, 2002
*Fixed: On Windows98, the Select event fails if is displays a message box inside.

1.0.1.5 August 5, 2002
*Added: VB\CAB sample
*Fixed: The Refresh method is not required anymore, if the user calls Remove or Clear method.
*Fixed: If the user presses the Escape key, the active item is lost.
*Fixed: Sometime, the HighLight event is fired twice.
*Fixed: The highlighted item is hidden if the user click on a popup menu.

1.0.1.4 July 25, 2002
*Added: Using the CTRL + Up/Down key to move the item on design mode.
*Fixed: The item remains highlighted if the user selects it using the keyboard.

1.0.1.3 July 16, 2002
*NEW:   Partially Translucent Support
*Added: Visibility property. Retrieves or sets a value that indicates whether the popups are partially translucent.
*Added: SepAcc property. Specifies a string expression that splits the caption and accelerator key in the item. It allows aligning the accelerator key of the item to the right side.
*Fixed: For instance, the CTRL + ALT + F opens the ALT + F mnemonic. 

1.0.1.2 July 01, 2002
*NEW:	Accelerator Keys Support. The Select event is fired when the user presses an accelerator key.
*Added: AddAcelerator( ID, Ctrl, Shift, Alt ) method. Associates an accelerator key to the menu item.
*Added: RemoveAcelerator( ID ) method. Removes the menu item's accelerator key.
*Added: ClearAcelerators() method. Clears the accelerator keys collection.
*Added: VB\Accelerator Sample.
*Fixed: The ItemTypeEnum type is not exported by the type library.
*Fixed: The Select event is fired twice when a subitem is selected by mouse.

1.0.1.1 June 24, 2002
*Added: Save method. Saves the menu to a file.
*Added: Load method. Loads the menu from a file saved using Save method.
*Added: Menu.ItemByIndex property gets the Item object by index or by caption.
*Added: VB\Load sample.
*Fixed: In VFP, if the user clicks an item, the control's parent window handles the mouse message.

1.0.1.0 June 17, 2002
*Added: Editor Page. Invokes the internal menu editor, for WEB pages,
*Added: Web Sample.
*Added: Picture property. Retrieves or sets the menu's picture.
*Added: PictureDisplay property. Retrieves or sets a value that indicates the way how the picture is displayed.
*Added: Menu.Picture property. Retrieves or sets the menu's picture.
*Added: Menu.PictureDisplay property. Retrieves or sets a value that indicates the way how the picture is displayed.

1.0.0.9 May 28, 2002
*Fixed: In VFP, the control's font is not chaning in design mode.

1.0.0.8 May 11, 2002
*NEW! Mnemonic ( ShortCut ) Keys Support. 
*Renamed: Right to exRight, Left to exLeft, Center to exCenter

1.0.0.7 May 9, 2002
*Added: Item.Alignment property. Aligns the item's caption.
*Fixed: Remove dependecies to TrackMouseEvent API function that is not supported by Windows 95.
*Fixed: The submenu is closed if the separator item is clicked.
*Fixed: The menu bar item's caption is centered if the item has no icon associated. Appearance = Flat
*Fixed: The accelerator mnemonic is not visible for disabled items.
*Fixed: Jump the separator items while navigating using arrow keys.
 
1.0.0.6 May 2, 2002
*Added: Click event. Fired when an item has been clicked.
*Added: RClick event. Fired when an item has been clicked using the right mouse button.
*Fixed: The form is deactivated if the user clicks on the menu item, and its position is out of the form. 

1.0.0.5 May 1, 2002
*Added: Highlight event. The Highlight event is fired when user moves the mouse over an item. The event is fired, even if the item is disabled. 
*Fixed: Select event is fired if a disabled item is clicked.

1.0.0.4 May 1, 2002
*NEW: ShowDown property. Retrieves or sets a value that indicates whether the item's submenu pops down or up.
*Added: Debug property. Retrieves or sets a value that indicates whether the control displays the item's identifier. For debug purpose.

1.0.0.3 April 30, 2002
*NEW: Button Appearance.
*Added: Item.Parent property. Gets the item's parent.

1.0.0.2 April 15, 2002
*Added: OpenPopup event. Fired when a sub menu is about to be opened.
*Added: ClosePopup event. Fired when a sub menu is about to be closed.

1.0.0.1 April 13, 2002
* Initial Release