NAME

Win32::GUI::Menu - Create and manipulate menu resources

DESCRIPTION

[TBD]

METHODS

Common methods apply to most windows, controls and resources.

new

new(...)

[TBD]

See also the common options.

AddMenuButton

AddMenuButton()

See new Win32::GUI::MenuButton()

RemoveMenu

RemoveMenu(position, [flags=MF_BYPOSITION])

The RemoveMenu function deletes a menu item or detaches a submenu from the specified menu. If the menu item opens a drop-down menu or submenu, RemoveMenu does not destroy the menu or its handle, allowing the menu to be reused

position specifies the menu item to be removed, as determined by the flags field.

flags specifies how the position field is interpreted, and can take one of the following values:

MF_BYCOMMAND  (0x0000): Indicates that position gives the identifier of the menu item
MF_BYPOSITION (0x0400): Indicates that position gives the zero-based relative position of the menu item.

If flags is not supplied, then MF_BYPOSITION is used as the default

EVENTS

Common events apply to most windows and controls.

Click

Click()

Sent when the users choose a menu point.

VERSION

Documentation for Win32::GUI v1.14 created 01 Jun 2017

This document is autogenerated by the build process. Edits made here will be lost. Edit docs/per_package.tpl instead.

SUPPORT

Homepage: http://perl-win32-gui.sourceforge.net/.

For further support join the users mailing list from the website at http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users. There is a searchable list archive at http://sourceforge.net/p/perl-win32-gui/mailman/perl-win32-gui-users/.

COPYRIGHT and LICENCE

Copyright (c) 1997..2017 Aldo Calpini. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.