ADXIEToolbarModule keydown event catch

Add-in Express™ Support Service
That's what is more important than anything else

ADXIEToolbarModule keydown event catch
keydown event 
Hyo Jin Song




Posts: 13
Joined: 2014-01-29
hello?

I want catch IE Toolbar catch keyboard shortcut Ctrl+Alt+Shift+T

http://www.add-in-express.com/docs/internet-explorer-html-events.php

I use c#, I can't understand VB.

howto add ADXIEKeyboardShortcut object to ADXIEToolbarModule?


private void InitializeComponent()
{
?????



or howto add ie events?


this.KeyDown += new KeyEventHandler(XenoTransApp_KeyDown); ??



private void XenoTransApp_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.Control && e.Alt && e.Shift && e.KeyCode == Keys.T)
            {
                doTranslate();
            }
        }


thank you.
Posted 19 Mar, 2014 06:29:00 Top
Hyo Jin Song




Posts: 13
Joined: 2014-01-29
oh, I resolved.

this.DocEvents.OnKeyDown += new ADXIEHTMLEventObject_EventHandler(this.DocEvents_OnKeyDown);


thank you.
Posted 19 Mar, 2014 06:41:52 Top
Andrei Smolin


Add-in Express team


Posts: 14137
Joined: 2006-05-11
Thank you.

You can use any VB.NET to C# code converter available on the web.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 19 Mar, 2014 09:19:40 Top