Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Simulate a button click
Simulate a button click [message #37454] |
Sun, 07 October 2012 20:18  |
Mircode
Messages: 17 Registered: September 2012
|
Promising Member |
|
|
Hi there!
My application shows a keyboard made of pusher-buttons. If the user clicks a button with the mouse, the keystroke gets simulated. On the other hand, if the user physically presses a key on his keyboard, the pusher has to look pushed as long as the user holds the key.
How can I do that?
PseudoPush almost does the trick, except it releases immediately. I dont know if the KeyPush() method would help, but its protected.
Ah, and I dont want to assign a hotkey to the pusher or something like that, I want to be able to make the button look pushed from anywhere in my code.
Thanks for help in advance!
Greetings,
Mirko
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:40:27 CEST 2025
Total time taken to generate the page: 0.00826 seconds
|