U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Library : Other (not classified elsewhere) » System Key Board Action Capturing
System Key Board Action Capturing [message #60631] Fri, 14 June 2024 13:45 Go to next message
nikitha_k is currently offline  nikitha_k
Messages: 9
Registered: July 2023
Location: Banglore
Promising Member
Hello,

I was trying to capture the continuous press of SystemHotKey, Similar to the WhenRepeat event of the Button, using Ctrl::RegisterSystemHotKey function I was only able to capture single click event, How to capture continuous press event?
Re: System Key Board Action Capturing [message #60651 is a reply to message #60631] Fri, 21 June 2024 11:50 Go to previous message
koldo is currently offline  koldo
Messages: 3464
Registered: August 2008
Senior Veteran
Hello Nikitha_k

If you are in Windows, you can try to call directly RegisterHotKey(). You can see how to call it in the U++ function Ctrl::RegisterSystemHotKey().
The Windows function has a MOD_NOREPEAT option, so it seems that by default this function has to capture continuous key press.
Additional details about using this function can be found here.


Best regards
IƱaki

[Updated on: Fri, 21 June 2024 11:51]

Report message to a moderator

Previous Topic: date edit controls vs Internationalization
Next Topic: GLCtrl - alpha transparency
Goto Forum:
  


Current Time: Wed Oct 14 15:47:26 GMT+2 2026

Total time taken to generate the page: 0.00601 seconds