Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   Problem with dialog control? (http://www.go4expert.com/forums/dialog-control-t19253/)

alis 1Sep2009 13:34

Problem with dialog control?
1-In my dialog mfc project, when I press enter dialog closed.
I have some Editbox and Button, I want that When I'm in Editbox and press enter it work like tab and when press enter on button it work like button click.
How can I do it?

2- I have a CheckBox button, I setfocus this object in initdialog, but when I run program, it isn't focused. Where is my mistake?


All times are GMT +5.5. The time now is 08:50.