WinCE: Can't change menu item caption in soft key bar
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
When I change the caption of a menu item with *.Caption, which sits in the soft key bar of Windows Mobile, the caption isn't updated.
The caption is only changed when a TB_SETBUTTONINFO message is sent to the menu bar containing the new caption.
Additional information:
Tested on WM 6.0, but I believe it also persists on 5 and 6.5 (Pocket PC Phone versions)
Attached is an example application where you can change the captions on the bar with the two buttons on the form. The left button uses the message method, while the right sets the caption directly.
Mantis conversion info:
- Mantis ID: 14973
- Version: 0.9.28
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 25810 (#9682e60e)