Print Page | Close Window

DialogBars & MDI

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=11070
Printed Date: 25 April 2024 at 12:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DialogBars & MDI
Posted By: VDF1
Subject: DialogBars & MDI
Date Posted: 17 June 2008 at 4:04am
A customer likes the DialogBars but does not like the fact that a MDI child window can slide underneath the DialogBar ( https://forum.codejock.com/uploads/20080617_040244_2008-06-17_1000.zip - uploads/20080617_040244_2008-06-17_1000.zip ). Is there a way to prevent this?

-------------
Kind Regards,
Vincent Oorsprong
Data Access Europe B.V.
Lansinkesweg 4
7553 AE Hengelo
Netherlands
+31-74-2555609



Replies:
Posted By: younicke
Date Posted: 17 June 2008 at 4:45am
you could try using TabWorkSpace and then EnableGroups on the TabWorkSpace. But take not that all MDI-child forms will always be maximized, no way to restore or minimize it.


uploads/20080617_044529_tabworkspace_sa.zip - uploads/20080617_044529_tabworkspace_sa.zip




Posted By: VDF1
Date Posted: 17 June 2008 at 5:20am
Thanks, but I tried the tabworkspaces and it makes no difference. I do not want to maximize the views in the MDI frame.

-------------
Kind Regards,
Vincent Oorsprong
Data Access Europe B.V.
Lansinkesweg 4
7553 AE Hengelo
Netherlands
+31-74-2555609


Posted By: younicke
Date Posted: 17 June 2008 at 5:24am
i dont know if there is a workaround... because that is the default behaviour of VB6. Even without commandbars, try putting a picturebox in the left of the MDI form and open your mdi-child forms, the same thing will happen as the problem you have stated.

maybe oleg has some answers.


Posted By: VDF1
Date Posted: 17 June 2008 at 5:33am

You are right that MDI children can be moved under the borders of main panel but that was/is never been a problem. With the dialogbar the users started to remark and complain.

I've tested the maximizing of the MDI dialogs and send a screenshot to the customer. Maybe they like it. I don't since most of the dialogs will not use all the space and it start looking awfull then.

 



-------------
Kind Regards,
Vincent Oorsprong
Data Access Europe B.V.
Lansinkesweg 4
7553 AE Hengelo
Netherlands
+31-74-2555609


Posted By: jpbro
Date Posted: 17 June 2008 at 3:36pm
You might be able to subclass the MDIChild windows and consume WM_MOVE if the window would move outside the area you want to limit it to.

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




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