Link to home
Start Free TrialLog in
Avatar of moonrise
moonrise

asked on

How to disable Shift F10

How can I capture Shift F10 and disable it.
Avatar of XAN
XAN

try use TApplicationEvents and somthing like this in OnMessage handler:
with Msg do
  if (Message = WM_SysKeyDown) and
    (wParam = 00000079) and
    (lParam = 00440001) then
  Handled := True;

ASKER CERTIFIED SOLUTION
Avatar of umitde
umitde

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of moonrise

ASKER

Thnk you both. Probably 2 working solutions but using FormKeyDown seems easier.