1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem with dialog control?

Discussion in 'MFC' started by alis, Sep 1, 2009.

  1. alis

    alis New Member

    Aug 1, 2009
    Likes Received:
    Trophy Points:
    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?


Share This Page