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

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@60424 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
Oleg.Korshul
2014-12-26 12:59:47 +00:00
committed by Alexander Trofimov
parent d7c22a540d
commit 574f0b1240
2 changed files with 31 additions and 0 deletions

View File

@ -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()
{
}
};
}

View File

@ -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