|
-
Mar 22nd, 2011, 07:13 PM
#1
Thread Starter
Lively Member
Detecting key combos problems
Hey everyone,
I am having problems while detecting key combo events in my app.
For example, I have Alt+M set to bring up the menu bar like one does in. Windows 7. But I noticed if u press control+alt+M it still calls the menu bar. I also noticed that if focus is on a webbrowser control, none of the combos work. I have keypreview set to true by the way. The webbrowser control is really a custom class that inherrits the standard webbrowser control. Reason for the custom control is because it uses the tab control tag property. I found it in a post somewhere can remember where. I'll post the link to the info in an hour.
Also I noticed during testing of Alt+SOME KEY that when I was holding Alt before I pressed the SOME KEY that it was calling up the code for showing/hiding the menu bar. (I originally used just Alt for the menu)
1) how to better control key combos
2) why does custom browser control "ignore" the keypreview being set to true?
Sorry if this is unorganized. I posted using my iPhone (Verizon baby!!!)
Appreciate any help you guys can give!
--------EDIT
Can't find the link. if u want any code (for anything) let me know ill post it.
Last edited by crazy1993; Mar 22nd, 2011 at 09:34 PM.
~Dustin Schreiber
Head Developer for TechJive Dev Team - Founder of http://www.thetechsphere.com
Who *cares* if a laser guided 500 lb bomb is accurate to within 9 feet?
Teamwork is essential. It gives the enemy someone else to shoot at.
Retreating?! Hell no, we're just attacking the other direction!
Please rate posts if you find them helpful
<--- Over there genius
Tags for this Thread
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
|