Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   MFC dialog looses focus after opening it (http://www.go4expert.com/forums/mfc-dialog-looses-focus-t28022/)

Sanjay2012 15Mar2012 10:38

MFC dialog looses focus after opening it
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...


All times are GMT +5.5. The time now is 00:35.