| |

VerySource

 Forgot password?
 Register
Search
Author: lizhi0213

Strange problem with hotkeys: it is obviously set to ALT + Z, but the registered one is SHIFT + Z. If it is set to SHIFT

[Copy link]

1

Threads

10

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

 Author| Post time: 2020-2-9 09:15:01
| Show all posts
Can not do it. The corresponding function allows users to customize shortcut keys ...
Reply

Use magic Report

1

Threads

10

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

 Author| Post time: 2020-2-13 22:00:01
| Show all posts
Go up, please give pointers, be grateful!
It always fails, is it a bug of the Hot Key control itself? ?
Reply

Use magic Report

0

Threads

18

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 United States

Post time: 2020-2-15 00:15:01
| Show all posts
possible!
Reply

Use magic Report

0

Threads

59

Posts

43.00

Credits

Newbie

Rank: 1

Credits
43.00

 China

Post time: 2020-2-18 13:45:01
| Show all posts
This is the code of the MFC GetHotKey function, it is converted like this, you try
LRESULT dw = :: SendMessage (m_hWnd, HKM_GETHOTKEY, 0, 0L);

RegisterHotKey (m_hWnd, 1001, HIBYTE (LOWORD (dw)), LOBYTE (LOWORD (dw)));
Reply

Use magic Report

1

Threads

10

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

 Author| Post time: 2020-3-9 21:30:02
| Show all posts
Thank you2511718: The problem still cannot be solved.
Reply

Use magic Report

0

Threads

59

Posts

43.00

Credits

Newbie

Rank: 1

Credits
43.00

 Germany

Post time: 2020-4-11 12:45:01
| Show all posts
Poured ~~
Reply

Use magic Report

0

Threads

5

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-4-12 13:30:01
| Show all posts
If you ca n’t solve it, just trick and write a judgment in the program to change Shift and ALT
Reply

Use magic Report

1

Threads

10

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

 Author| Post time: 2020-4-13 10:15:02
| Show all posts
Judging that I wrote it already. It's just that I think it's not a trick. There should be a solution.
Depressed, how could this be.
Experts will help to look again. Post in 3 days.
Thanks! !
Reply

Use magic Report

0

Threads

9

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-4-19 18:15:01
| Show all posts
// Swap hotkey
UINT SwapShiftAlt (UINT iHotKey)
{
if (iHotKey&HOTKEYF_SHIFT&&iHotKey&HOTKEYF_ALT)
{
}
else if (iHotKey&HOTKEYF_ALT)
{
iHotKey-= 3;
}
else if (iHotKey&HOTKEYF_SHIFT)
{
iHotKey + = 3;
}
return iHotKey;
}
Reply

Use magic Report

1

Threads

10

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

 Author| Post time: 2020-4-22 18:00:02
| Show all posts
But, after all, I failed to fundamentally solve the problem.
gosh. Why is this happening?
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list