WM_LBUTTONDOWN for edit controls?

  • Thread starter sweetjones
  • Start date
  • #1
44
0

Main Question or Discussion Point

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
135
0
I suggest
you can go to the codeguru.com or codeproject.com to post these question on their forums.
 

Related Threads for: WM_LBUTTONDOWN for edit controls?

  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
14
Views
2K
Replies
7
Views
3K
  • Last Post
Replies
0
Views
1K
Replies
4
Views
570
Replies
8
Views
2K
Replies
9
Views
6K
Replies
13
Views
5K
Top