![]() |
DialogBars & MDI |
Post Reply ![]() |
Author | |
VDF1 ![]() Groupie ![]() ![]() Joined: 28 November 2007 Location: Netherlands Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() 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 (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 |
|
![]() |
|
younicke ![]() Senior Member ![]() ![]() Joined: 11 March 2005 Status: Offline Points: 107 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
VDF1 ![]() Groupie ![]() ![]() Joined: 28 November 2007 Location: Netherlands Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
younicke ![]() Senior Member ![]() ![]() Joined: 11 March 2005 Status: Offline Points: 107 |
![]() ![]() ![]() ![]() ![]() |
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. |
|
![]() |
|
VDF1 ![]() Groupie ![]() ![]() Joined: 28 November 2007 Location: Netherlands Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
jpbro ![]() Senior Member ![]() ![]() Joined: 12 January 2007 Status: Offline Points: 1355 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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 |