MFC dialog looses focus after opening it

Discussion in 'MFC' started by Sanjay2012, Mar 15, 2012.

  1. Sanjay2012

    Sanjay2012 New Member

    Mar 15, 2012
    Likes Received:
    Trophy Points:
    I have a window and some list on it. After clicking on any item a dialogbox opens.
    But the problem is the focus is still remain on window. because when i first click on dialogbox the focus shows on window item. After first click on dialog box now the focus comes on dialog.

    In brief for acitivating item (clicking to work) on dialog i have to double click on dialog.
    First for bringing it in focus and second click to work done like clicking on ok button on dialogbox.

    any idea why it is happening so...


Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice