I want to display the unfocussed parent window (or dialog) from a child window (which is a modeless dialog). The display action is performed in the button event of the child window (or dialog).
Printable View
I want to display the unfocussed parent window (or dialog) from a child window (which is a modeless dialog). The display action is performed in the button event of the child window (or dialog).
Well not sure didn't tried it ( If I understand correctly what you are trying to do ) .... but the logic should be that you show the parent window and put the focus back on child :) . :D
Hi,
What i want to do is:
To display a (modeless)child dialog from a parent dialog (which i have already done)
Since the Child window area is more than the parent, i can't see the total parent window. Hence i want to view the parent window now from Child window button, Still not closing the child window. That is i want to go back to parent window without closing the child window.
Take the parent's handle and use SetActiveWindow to bring it forth.
Hi,Quote:
Originally Posted by Krishnaa
Sorry for the late reply.
But I tried using the parent's handle and the SetActiveWindow, Its not working. The parent window, even though it gets the focus, it is still remaining behind the child window.