VLMenuPlus extends the ease of use of VLMenuPlus to .net, VC++, Delphi
and other environment. In order to achieve this ease of use in non-VB
development environments we were forced to make some changes that have
rendered this version incompatible with previous versions of VLMenuPlus.
We have ensured that the required code changes are minimal. All your
existing program logic will continue to work; only a few variable
declarations will need to be changed. You can make these changes in
just a few minutes and start using all the enhancements available in
this version with minimal effort.
To ensure that your existing application binaries don't break due to this
incompatibility, we have ensured that
VLMenuPlus Ver. 5, can co-exist with
the previous version on your (and your client's) machines.
Code changes for upgrading from previous versions
- Remove previous version of VLMenuPlus from your project,
and include VLMenuPlus Ver. 5 in your application, and place
VLMenuPlus control on your application form. Please ensure that
you set the name property of the control appropriately,
so that your old application logic continues to be in effect.
- Data type of parameters of DrawMenuItem, DrawMenuItemEx,
SetMenuItemAttributes, SetMenuItemSize and ShowMenuHelp
event have changed. If your application is using any of these events,
please change the data type of parameter mnuItem from VLMenuPlus.CMenuItem
to VLMenu.CMenuItem.
- In the enum vlHighlightStyle, we have removed the spaces
from the constant names. For example, Horizontal Left To Right
has now become HorizontalLeftToRight. This makes it easier to use in
non-VB environments. If your application is using any of vlHightStyle
constants, please refer to HighlightStyle property documentation
in the help file and make appropriate constant name changes in your
application. Also, vlHighlightStyle constant XP has been changed
to OfficeXP.
- In the Enum vlBorder we have removed the spaces from the constant
names. The name of constant Flat With Shadow has now become
FlatWithShadow.
- Enum vlHighlightOverBitmap is now renamed to vlTristateOptions.
It is used by HighlightOverBitmap and IconShadowEffect properties.
|