i already tried something like,
RegisterHotKey(appwinHANDLE, 3004, 0, $B3);
$B3 is the code for multimedia key "PLAY"
how can i register a hotkey for the keys (Stop, Play, Vol up, Vol down...) ?
os: windows
compile : delphi
i already tried something like,
RegisterHotKey(appwinHANDLE, 3004, 0, $B3);
$B3 is the code for multimedia key "PLAY"
how can i register a hotkey for the keys (Stop, Play, Vol up, Vol down...) ?
os: windows
compile : delphi
From brazil (:
Pascal pownz!
You can't.. since explorer registers them before you do.
This is my game project - Top Down City:
http://www.pascalgamedevelopment.com...y-Topic-Reboot
My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
http://www.pascalgamedevelopment.com...source+manager
but how wmp does it :? ?
From brazil (:
Pascal pownz!
are you sure it registers hotkeys rather than use system messages?Originally Posted by arthurprs
This is my game project - Top Down City:
http://www.pascalgamedevelopment.com...y-Topic-Reboot
My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
http://www.pascalgamedevelopment.com...source+manager
no =POriginally Posted by Delfi
i can detect them using messages? how?
From brazil (:
Pascal pownz!
wm_keydown in your own app, if you want it global, you could use stuff like GetKeyboardState..Originally Posted by arthurprs
This is my game project - Top Down City:
http://www.pascalgamedevelopment.com...y-Topic-Reboot
My OpenAL audio wrapper with Intelligent Source Manager to use unlimited:
http://www.pascalgamedevelopment.com...source+manager
most of time the app is hided, so i probably can't use _keydownOriginally Posted by Delfi
i need a timer or something like that to use GetKeyboardState?
From brazil (:
Pascal pownz!
I think a better way would be to use SetWindowsHookEx
Peregrinus, expectavi pedes meos in cymbalis
Nullus norvegicorum sole urinat
can you give more info ?Originally Posted by JSoftware
From brazil (:
Pascal pownz!
Bookmarks