Menu supporting "edit" commands and automatic connection to "EDIT" controls. More...
#include <mgui/menuedit.h>

Public Types | |
| enum | COMMAND { COMMAND_Cut = 0x00010000, COMMAND_Copy = 0x00020000, COMMAND_Paste = 0x00040000, COMMAND_Clear = 0x00080000, COMMAND_InsertFile = 0x00100000, COMMAND_Find = 0x00200000, COMMAND_FindAgain = 0x00400000, COMMAND_GoToLine = 0x00800000, COMMAND_CharacterMap = 0x01000000, COMMAND_Format = 0x02000000, COMMAND_ShowFormatCodes = 0x04000000, COMMAND_DEFAULT = 0x000F0000 } |
Public Member Functions | |
| MENU_EDIT (const MENU_EDIT &rhs) | |
| MENU_EDIT () | |
| ~MENU_EDIT () | |
| void | AddCommands (COMMAND commands=COMMAND_DEFAULT) |
Menu supporting "edit" commands and automatic connection to "EDIT" controls.
When placed on a menu bar, any controls in the same shell that are derived from CTRL_EDIT_BASE automatically register themselves and handle enabling and disabling Cut and Copy based on whether or not there is a selection active.
Command IDs. Note: these can also be used IDs to SetEnabledID().
| MGUI::MENU_EDIT::MENU_EDIT | ( | ) |
Default constructor.
| MGUI::MENU_EDIT::MENU_EDIT | ( | const MENU_EDIT & | rhs | ) |
Copy constructor.
| MGUI::MENU_EDIT::~MENU_EDIT | ( | ) |
Destructor.
| void MGUI::MENU_EDIT::AddCommands | ( | COMMAND | commands = COMMAND_DEFAULT |
) |
Add one or more standard edit menu commands to the menu.
1.6.1