|
-
February 10th, 2007, 04:43 AM
#1
How to display the unfocussed parent window
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).
-
February 10th, 2007, 06:27 AM
#2
Re: How to display the unfocussed parent window
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 .
Please use code tags [code] [/code]
We would change the world, but God won't give us the sourcecode.. 
Undocumented futures are fun and useful....
_________
Gili
-
February 13th, 2007, 05:27 AM
#3
Re: How to display the unfocussed parent window
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.
-
February 13th, 2007, 05:33 AM
#4
Re: How to display the unfocussed parent window
Take the parent's handle and use SetActiveWindow to bring it forth.
Regards,
Ramkrishna Pawar
-
February 27th, 2007, 05:24 AM
#5
Re: How to display the unfocussed parent window
 Originally Posted by Krishnaa
Take the parent's handle and use SetActiveWindow to bring it forth.
Hi,
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|