Commit 574f0b12 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

контекстное меню отдоно менюшникам

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@60424 954022d7-b5bf-4e40-9824-e11837661b57
parent d7c22a54
......@@ -2332,6 +2332,34 @@ namespace NSEditorApi
{
}
};
class CAscContextMenuInfo : public IMenuEventDataBase
{
public:
bool Copy;
bool Cut;
bool Paste;
bool Delete;
bool Select;
bool SelectAll;
// rect
CAscRect Rect;
public:
CAscContextMenuInfo()
{
Copy = false;
Cut = false;
Paste = false;
Delete = false;
Select = false;
SelectAll = false;
}
virtual ~CAscContextMenuInfo()
{
}
};
}
......
......@@ -623,6 +623,9 @@
#define ASC_MENU_EVENT_TYPE_KEYBOARD_SHOW 100
#define ASC_MENU_EVENT_TYPE_KEYBOARD_UNSHOW 101
#define ASC_MENU_EVENT_TYPE_CONTEXTMENU_SHOW 102
#define ASC_MENU_EVENT_TYPE_CONTEXTMENU_UNSHOW 103
#define ASC_MENU_EVENT_TYPE_CONTEXTMENU_COPY 110
#define ASC_MENU_EVENT_TYPE_CONTEXTMENU_CUT 111
#define ASC_MENU_EVENT_TYPE_CONTEXTMENU_PASTE 112
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment