Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 3
Registered: July 2023
Location: Banglore
Junior 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: 3404
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
Goto Forum:
  


Current Time: Fri Dec 13 23:47:10 CET 2024

Total time taken to generate the page: 0.03351 seconds