Hi there.
I subclassed a single line edit box in a dialog window, to verify user entry.
The subclassing works very well, I am able to see WM_KEYDOWN-like messages.
But now, as the user press "enter", I just want to send a message to the
dialog box, like the user has clicked on the "Go" button, just beside the
edit box.
I tried setting the msg var to WM_COMMAND, the wParam var to id of the button
and let the CallWindowProc at the end of the subclassed message handling proc
do the work but nothing happens.
I've tried to find some examples on google groups and the web but nothing
really helps.
If anybody had a relevant piece of code to do this, it would be nice for me.
Thanks all mates
--
Seb
|