detect spacebar in shell

Feb 9, 2011 at 6:01am
Hey,
This is going to be a little different.
I'v been working in a little project that is supposed to display file info, if you were to press the spacebar while the file is selected (that is, selected in a windows explorer window).

My problem is but one. How do I listen to that spacebar? I'm guessing there will be some digging into the shell, but I have no problem getting my hands dirty.

Thanks in advance
Feb 11, 2011 at 10:01pm
shameless bump?
Feb 12, 2011 at 12:21am
Hi, is it maybe RegisterHotKey() your looking for?
Then handle the WM_HOTKEY msg in your WindowProcedure() and do your thing

Sorry for my bad eng =)
Feb 12, 2011 at 2:49am
wow, that seems like it might work. I'll try that as soon as I can. I can't thank you enough :D

I'll let you know if it works on win7
Topic archived. No new replies allowed.