mIRC Home    About    Download    Register    News    Help

Print Thread
Naru :: Key Help #59867 11/11/03 06:51 PM
Joined: Oct 2003
Posts: 38
T
TheXenocide Offline OP
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Oct 2003
Posts: 38
Hello smile I started a new post because this one is not really related to menus :tongue:. Naru: I read your response to my Media Key issue, but I have come across 2 problems. First, I can not find any reference to keybd_event() in my headers or the MSDN library. Second, I'm not sure if you understood my question or not (because i don't know what those commands do :tongue:) but I'm not trying to send those messages, I'm trying to capture the messages. For example, when the user presses the Play button on their multimedia keyboard, I want to find out that they pressed it and run code from there to do what I want (like sending a command to mIRC for example). I couldn't reply to your pm (it says that you're not accepting pms) but I was wondering if there was a better way for me to contact you (e-mail, a specific IRC server or something). You seem to be the most helpful person on here (no offense to you other coders, you just haven't seemed to see the need to help me) so I figured it would be easiest to deal directly with you. If these forums is your preffered way then that's fine wink just figured i'd ask.


-TheXenocide
ParseMPopup
Re: Naru :: Key Help #59868 11/11/03 11:32 PM
Joined: Jun 2003
Posts: 195
N
Narusegawa_Naru Offline
Vogon poet
Offline
Vogon poet
N
Joined: Jun 2003
Posts: 195
really? its in the MSDN unless maybe you have an old version. you could of course use a hook to trap keyboard messages (WM_KEY*) of course wParam in this case is the VK_* constant. Im not sure if you can alter the default action for some of these. If im not mistaken the browser one will always launch the default browser as well as whatever you have it do. There may be a few other ways to handle this but i havent actually tried any. I had a similar idea for a dll a while back but never tried it (got too busy lol). Im on irc.wonderingraven.net #genscripts. when im not in school (or cheer practice) i try to make myself available. (typically between 4pm central to whenever i sleep pm central).


Have Fun smile