Click here to Skip to main content
15,564,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Let's say I have a button on my virtual keyboard/dialog with its text property set to "A". I know I can call its click event to process the corresponding code, but can anyone tell me how to make the button appear to have been clicked?
In other words, I need it to "go down" and then "come back up".Any specific code that can help me on using keyboard and the corresponding effect to be displayed on the screen?? Mfc related....

Please let me know.
Updated 1-Dec-10 20:34pm

1 solution

If you give a checkbox the style BS_PUSHLIKE, it will look like a push button. In unchecked state it will look like an unpressed button and when checked it will look like a pressed button.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900