EXCNV (Windows)

The EXCNV tool migrates VisualAge for C++ for Windows Version 3.5-level resource source compiler files to the IBM C and C++ Compilers Version 3.6-level resource source compiler files.

In Version 3.5, the MENUEX statements used the same short form of the type and state flags that the MENU statement used.

To be in sync with the MENUEX specifications as defined in the Microsoft SDK, the type and state flags have changed for the MENUEX statements. The EXCNV tool adds an MFT_ tag to the type flags:

Version 3.5 MENUEX Type Flag Version 3.6 MENUEX Type Flag
STRING MFT_STRING
BITMAP MFT_BITMAP
MENUBARBREAK MFT_MENUBARBREAK
MENUBREAK MFT_MENUBREAK
OWNERDRAW MFT_OWNERDRAW
RADIOCHECK MFT_RADIOCHECK
RIGHTORDER MFT_RIGHTORDER
RIGHT JUSTIFY MFT_RIGHT JUSTIFY
SEPARATOR MFT_SEPARATOR

and adds an MFS_ tag to the state flags:

Version 3.5 MENUEX State Flag Version 3.6 MENUEX State Flag
GRAYED MFS_GRAYED
DISABLED MFS_DISABLED
CHECKED MFS_CHECKED
HILITE MFS_HILITE
ENABLED MFS_ENABLED
UNCHECKED MFS_UNCHECKED
UNHILITED MFS_UNHILITED
DEFAULT MFS_DEFAULT

EXCNV also changes MENUITEM SEPARATOR in a MENUEX statement to MENUITEM -1,"",MFT_SEPARATOR.

It also adds WINDOWS.H, if the header file is not already present.