My dialog doesn't get focus
-
I have a common C++ program and try to execute DoModal() on my dialog. When I do it from within the view it goes well but when i do it from another dialog that is a child to the view the dialog doesn't get focus even though i click in it. When I click on my program down in the program bar, the dialog gets focus. Anybody had this problem? Robert
-
I have a common C++ program and try to execute DoModal() on my dialog. When I do it from within the view it goes well but when i do it from another dialog that is a child to the view the dialog doesn't get focus even though i click in it. When I click on my program down in the program bar, the dialog gets focus. Anybody had this problem? Robert
-
What do you mean by take care of. I can override OnInitDialog and get the value that the base class returns, but what should I do with it.
-
What do you mean by take care of. I can override OnInitDialog and get the value that the base class returns, but what should I do with it.
-
Solved it. the problem was that I posted the message to another window that created the dialog.
-
What do you mean by take care of. I can override OnInitDialog and get the value that the base class returns, but what should I do with it.
Did you set the pointer to the first dialog as a parent of the second? Robert-Antonio "Give a man a fish, he owes you one fish. Teach a man to fish, you give up your monopoly on fisheries."
-
the last
OnInitDialog
() line is that one :return TRUE; // return TRUE unless you set the focus to a control
what does it make you fell ??
TOXCCT >>> GEII power
toxcct wrote: what does it make you fell ?? I feel that you must be feeling very stupid with your answer. :-O
God is Real, unless declared Integer.