|
-
Feb 12th, 2008, 03:37 PM
#1
Thread Starter
Hyperactive Member
[2005] Shortcut in webbrowser.
I have form, where only component on it is webbrowser control. How to add one own shortcut to it (to raise another form)? It needs keys hook, or there is other way?
-
Feb 12th, 2008, 10:11 PM
#2
Re: [2005] Shortcut in webbrowser.
What exactly are you trying to achieve? You want to add a link to the page in your WebBrowser control to open another form in your app? Can you explain a bit more?
-
Feb 13th, 2008, 09:44 AM
#3
Thread Starter
Hyperactive Member
Re: [2005] Shortcut in webbrowser.
I want to invoke sub. when user use shortcut. For eg-> "crtl + o" should invoke sub which open next form.
-
Feb 13th, 2008, 09:51 AM
#4
Re: [2005] Shortcut in webbrowser.
Ok, you want to catch a keyboard input from the user from anywhere within your program, as long as your program has focus. Hmm... not a bad question.
I think you just do it through the Menu-bar control. As long as the form has a Menu-bar, you can assign keyboard shortcuts to items via the properties.
Last edited by Jenner; Feb 13th, 2008 at 10:01 AM.
-
Feb 13th, 2008, 11:50 AM
#5
Thread Starter
Hyperactive Member
Re: [2005] Shortcut in webbrowser.
But the only one component is webbrowser There can't be any other controls.
-
Feb 13th, 2008, 11:53 AM
#6
Re: [2005] Shortcut in webbrowser.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|