Modify menu class

Share Tips, Code Samples, etc. with the Visual Prolog community.
Post Reply
Steve Lympany
VIP Member
Posts: 695
Joined: 31 Mar 2001 23:01

Modify menu class

Post by Steve Lympany » 30 Nov 2010 11:24

Hi,
Here is a project that uses a class for modifying menus. Essentially, you grab the current window menu, and then:

- add and remove top menu items
- add, remove and rename submenu items
- check/uncheck items
- enable/disable items.

and then you reassign the modified menu back to the window.

Steve
Attachments
dev_modify_menu.zip
VIP7.3 project with modify_menu class.
(28.2 KiB) Downloaded 776 times

Post Reply