Re: registerHotKey problem
- Posted by Andy Drummond <andy at kest??ltele.com> Sep 16, 2007
- 598 views
jacques deschĂȘnes wrote: > > > Hi Andy, > The problem with win32lib is that it emulate hotkeys instead of implementing > as documented in wi32api on MSDN. > I don't known why it never as been impleted as per windows API as it simple > to implement that way. It only need two wrapper > CreateAcceleratorTAble() which create an accelerator table in memory and > return > an handle to it. > TranslateAccelerator() to be used in message loop. > > I personnaly implement it that way in my projects and it works fine not only > with alt-key both also > with ctrl any combination of ctrl, alt, shift + key. > > maybe someone should consider to modify win32lib to implement it as describe > here: > <a > href="http://msdn2.microsoft.com/en-us/library/ms645526.aspx">http://msdn2.microsoft.com/en-us/library/ms645526.aspx</a> > > regards, > jacques DeschĂȘnes Thanks - merci beaucoup - Jacques, I'll look at that and see if I can make it work as Mr Gates thinks it ought to be. Maybe Christian can do the changes in Win32Lib - I am quite sure he knows infinitely more about Windows API that ever I do! Andy