I have a API project which has a dialog with several edit boxes and OK & Cancel buttons.
I have programmed it so that if the user pressed Return on an edit box the focus moves to the next field.
On the last field pressing retun passes focus to the OK button which is displayed with a dotted line round it. If I press Return nothing happens, but if I click on OK I get a response.
Is there something that I am missing?
I have tried renaming IDOK to my own ID name.
I have noticed that the control id I get back on pressing return on the OK button is the same as on the previous edit box.