Re: Handle / detect <Alt> key combinations
- From: Jatin <triplederby100-propos@xxxxxxxxx>
- Date: Fri, 30 May 2008 23:19:16 -0700
Jamie,
keybd_event
keybd_event will let me simulate the key strokes. I want to be able to detect <Alt><Ctrl><anykey> presses. Can you point me to any code that shoes how to do that? This is how I am trying to do now:
procedure WMKeyDown(var Message : TWMKeyDown); message WM_KEYDOWN;
.....
.....
procedure TAppPanel.WMKeyDown(var Message : TWMKeyDown);
begin
inherited;
if (hwndApp <> 0) then
PostMessage(hwndApp, Message.Msg, Message.CharCode, Message.KeyData);
end;
But the above code doesn't get fired when <Alt> key is pressed. What should I do to trap <Ctrl><Alt><anykey> key presses?
.
- Follow-Ups:
- Re: Handle / detect <Alt> key combinations
- From: Jamie
- Re: Handle / detect <Alt> key combinations
- References:
- Handle / detect <Alt> key combinations
- From: Jatin
- Re: Handle / detect <Alt> key combinations
- From: Jamie
- Re: Handle / detect <Alt> key combinations
- From: Jatin
- Re: Handle / detect <Alt> key combinations
- From: Jamie
- Handle / detect <Alt> key combinations
- Prev by Date: Re: Name of executable
- Next by Date: Re: Handle / detect <Alt> key combinations
- Previous by thread: Re: Handle / detect <Alt> key combinations
- Next by thread: Re: Handle / detect <Alt> key combinations
- Index(es):