Log in

No account? Create an account
'Twas brillig, and the slithy toves did gyre and gimble in the wabe [entries|archive|friends|userinfo]

[ website | Beware the Jabberwock... ]
[ deviantArt | the-boggyb ]
[ FanFiction | Torkell ]
[ Tumblr | torkellr ]

[Random links| BBC news | Vulture Central | Slashdot | Dangerous Prototypes | LWN | Raspberry Pi]
[Fellow blogs| a Half Empty Glass | the Broken Cube | The Music Jungle | Please remove your feet | A letter from home]
[Other haunts| Un4seen Developments | Jazz 2 Online | EmuTalk.net | Feng's shui]

[Wednesday 11th April 2007 at 9:33 pm]

Apparently, to make Alt+D, Alt+E, Alt+O and Alt+V act as local hotkeys for certain 'links', DriveImage 2002 needs to install a global hotkey hook.

Thus concludes a good half hour spent fruitlessly searching for a non-existant bit of malware.

Thanks, PowerQuest.
Link | Previous Entry | Share | Next Entry[ One penny | Penny for your thoughts? ]

[User Picture]From: olego
Thursday 12th April 2007 at 4:50 am (UTC)
I actually recently stumbled on this too: RegisterHotKey is a poorly-named function, and MSDN doesn't say mention alternatives in the documentation.

The whole Accelerator business is really tricky, because you have to modify your message loop to LoadAccelerators and TranslateAccelerator before trying to DispatchMessage. There is no other way, but there really should be. It actually took me 2 tries to load accelerators properly before I got them to work. In contrast, RegisterHotKeys is a 2-line modification that just works.

I think that their WinAPI programmer should be reprimanded, but it should be understood that WinAPI is a monster. MFC is also a monster, even though it tries not to be one.
(Reply) (Thread)