|
-
April 22nd, 1999, 09:38 AM
#1
We have a problem with a Button
Hello people.
I have a bit problem with a Standard button under VC5.0.
I need to know what function i can use what checks if the button is pressed.
thx people plz help me out..
-
April 22nd, 1999, 10:57 PM
#2
Re: We have a problem with a Button
Hi.
For example, if we click the button by the mouse, the message box
says "Click by mouse". If we push the button by Enter key,
the message box says "Push the button."
If you want this program, try PreTranslateMessage() and CWnd GetFoucs(). And check mouse click and enter key, and compare CWnd of button
and GetFocus().
Probably works.
HTH.
-Masaaki Onishi-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|