Print Page | Close Window

Is it possible to ................................

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=12135
Printed Date: 28 February 2025 at 6:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Is it possible to ................................
Posted By: vijaymahajan
Subject: Is it possible to ................................
Date Posted: 11 September 2008 at 12:00am
Hello,
Thanks.I handled it on OnMdiActivate(). It really worked.
 
sorry oleg,one more question. If the user goes for saving the document,i will open the savefiledialog. If he do not enter any path,and directly press the cancle button,it means he do not want to save.
Then in that case i will have to open the previous document again.
Can i do that?Is it possible? What can be the possible solution for that?
 
Because in this case,he has already clicked on the new childwnd tab. so new child window will get activated internally. then even if he clicks cancle button in savefiledialog,we wont be able to show the previous view. is there any method which can detect the last active tabclient? If not,Can we prevent the OnMdiActivate event to get fired in that case?
Can u put some light on this issue also?
 
Thanks again for your earlier reply. It really helped me a lot.
 
Thanks And Regards,
Vijay.



Replies:
Posted By: Oleg
Date Posted: 11 September 2008 at 1:11am
Hi,
You can't prevent. but you can manually acitvate old MDI Child. call MDIActivate.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: vijaymahajan
Date Posted: 12 September 2008 at 12:07am

Hi,

This i tried,but once the the other tab is clicked,it is difficult to get the inactive window's pointer.
That we can get in OnMdiActivate only.or may be in OnActivateView.
But i have to activate it from some other class.
How can i get it?Do u have any idea?
 
Please reply at the earliest.
Thanks And Regards,
Vijay.


Posted By: Oleg
Date Posted: 12 September 2008 at 1:06am

Think you need to save activate MDI child each time it was activated.

but think all your idea is wrong. users don't like then GUI don't allow make things they want.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net