The original post this snippet is from is at http://forums.codeguru.com/showthrea...ngle-menu-itemCode:public: Form1(void) { InitializeComponent(); // //TODO: Konstruktorcode hier hinzufügen. // m_cskd = gcnew CustomShortcutKeyDispatcher(this); m_cskd->RegisterGroup(toolStripMenuItem2, gcnew array<Keys>{Keys::Shift | Keys::Insert, Keys::Control | Keys::V}, gcnew EventHandler(this, &Form1::toolStripMenuItem2_Click), true, true, true); chkEnableMenuItem->Checked = toolStripMenuItem2->Enabled; }


Reply With Quote
Bookmarks