[WinCE] Regression: "New" sub menu is opened if MenuItem.Command=11
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
With the changes to the LCL WinCE menu system a regression occured: If menu items are changed dynamically (might be triggered by designed menus as well, perhaps) and a menuitem happens to have the command "11" the "New" menu from Windows Mobile is opened.
I don't know whether there are other "special" item IDs that should be avoided, but the patch mentioned in one of the other bug reports places the save ones from 200 on.
Additional information:
The following closed bug reports are about the same issue (from the time the old menu system was used):
- #13192 (closed)
- #11457 (closed)
Attached is an example. Press the button "Add / Remove" until "Command: 11" appears in the menu. Then click on "MyMenu->ClickMe". The "new" menu will now appear.
Mantis conversion info:
- Mantis ID: 17519
- Version: 0.9.29 (SVN)
- Fixed in version: 1.1 (SVN)
- Fixed in revision: 42069 (#a29c6d9d)
- Monitored by: » zaher (Zaher Dirkey)