![]() |
Is it possible to ................................ |
Post Reply ![]() |
Author | |
vijaymahajan ![]() Groupie ![]() ![]() Joined: 16 June 2008 Status: Offline Points: 92 |
![]() ![]() ![]() ![]() ![]() 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.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
You can't prevent. but you can manually acitvate old MDI Child. call MDIActivate.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
vijaymahajan ![]() Groupie ![]() ![]() Joined: 16 June 2008 Status: Offline Points: 92 |
![]() ![]() ![]() ![]() ![]() |
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.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |