WM_LBUTTONDOWN for edit controls?

  • Thread starter sweetjones
  • Start date
  • #1
sweetjones
44
0
Hi, I have 4 edit control boxes that I need to except the WM_LBUTTONDOWN message to set focus to them when clicked with the mouse. I have the setfocus events working perfectly. I even manipulated the OnOK override event with the "Enter" key to go to the next edit control box when pressed and send the SetFocus() to them. I just need to know how to set the focus to the edit control when the edit control is clicked with the mouse? If you need a scenario of the problem I would be more than happy to give one. I am using VS2005 C++ and MFC. Thanx In Advance!
 

Answers and Replies

  • #2
zyh
137
0
I suggest
you can go to the codeguru.com or codeproject.com to post these question on their forums.
 

Suggested for: WM_LBUTTONDOWN for edit controls?

Replies
11
Views
545
Replies
4
Views
771
Replies
7
Views
582
  • Last Post
Replies
10
Views
625
Replies
3
Views
492
Replies
0
Views
672
  • Last Post
Replies
1
Views
1K
Replies
1
Views
415
Top