Re: Hotkeys and win32lib apps

new topic     » goto parent     » topic index » view thread      » older message » newer message

CChris wrote:
> 
> CChris wrote:
> > 
> > Tone Škoda wrote:
> > > 
> > > You have to use WM_SYSKEYDOWN or WM_SYSCHAR.
> > > 
> > 
> Sorry for the earlier message: I just was not listening to the right 
> channel (monitoring messages to main window rather than to the control with 
> focus)..
> 
> WM_SYSKEYDOWN is sent indeed. This makes me wonder if Derek doesn't want 
> to add this kind of support to fDoSYSKeys() ie WM_SYSKEYDOWN+VK_MENU would set
>
> the AltMask bit when processing the corresponding w32HKeyDown. Of course this
> proczssing must not take place if context code says no window has focus.

Okay, so keyboard events are not giving us the Alt key setting. This is
a mistake I've made. I'll fix it today. 
 
> Something weird however: instead of matching WM_SYSKEYUP, I get WM_NULL 
> (#0) messages with matching key codes in reverse. Is this documented 
> anywhere?

Not sure. I'll check this for you too.
-- 
Derek Parnell
Melbourne, Australia

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu