Hi, I have a few questions about edit controls
1) I also have a single line edit control. I want to know when the user has hit the enter key when the edit control has focus. Can I recieve notification of this? Do I have to subclass the control? P.S. ES_WANTRETURN is not what I want, I want notification of the enter key being pressed in a single line edit control. Would subclassing help?
2) I have a static icon control with SS_NOTIFY enabled so I get STN_CLICKED notifications when it is clicked. I want to send the control STM_SETICON messages when I recieve a click notification and change the icon (so it looks like it's been 'clicked'). Can I count that the next WM_LBUTTON up after an STN_CLICKED will be the user unclicking the static control? Can I just recieve notifications of this so I can change the static icon control to looking unclicked? Would subclassing help?