WM_LBUTTONDOWN for edit controls?

  • Thread starter Thread starter sweetjones
  • Start date Start date
  • Tags Tags
    Controls Edit
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
sweetjones
Messages
44
Reaction score
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!
 
Physics news on Phys.org
I suggest
you can go to the codeguru.com or codeproject.com to post these question on their forums.