|
-
Feb 7th, 2006, 05:42 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED]Trap Ctrl +N in VB Web Browser Control
Guys,
I need to prevent a new IE window being opened when Ctrl +N (Equiv of selecting File -> New Window in IE) is pressed in the Web Browser control in my project. All other new window events are trapped using the NewWindow2 event, but according to MSDN a Ctrl+N keypress is not catchable using this method. Does anyone have any funkeh little code tricks that allow me to detect when Ctrl+N has been pressed and stop the web browser control from launching the new window?
Thanks in Advance!!
Last edited by Hack; Feb 7th, 2006 at 09:00 AM.
Reason: Added green "resolved" checkmark
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
|