Print Page | Close Window

Commandbars tabbed mdi mode

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=7926
Printed Date: 16 June 2024 at 2:53pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Commandbars tabbed mdi mode
Posted By: tobi
Subject: Commandbars tabbed mdi mode
Date Posted: 03 September 2007 at 2:26pm
I know I have asked this question about a year ago, but perhaps now there any news or workarounds known !
 
Is there any possiblity to prevent the flickering in a tabbed mdi application when using Commandbars ActiveX control in a .net application ?
The flickering appears e.g. when creating new documents. It is similar to standard behavior of tabbed mdi in Commandbars when using with VB6 but there is a workaround available !!!
 
Thank you very much



Replies:
Posted By: tobi
Date Posted: 06 September 2007 at 2:10am
Hi Oleg,
 
do you know if there is or will be some solution for this now or in the future ?
 
Thank you very much


Posted By: Oleg
Date Posted: 06 September 2007 at 5:50am
Hi,
 
Do you use EnableGroups option ?


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


Posted By: tobi
Date Posted: 06 September 2007 at 1:40pm
Hi Oleg,
 
yes ! Do can see the behavior in your MDISample e.g. the VB.NET version !
When you create new mdi child document, the window flushes/flickers before it is displayed in tabbed mode...


Posted By: Oleg
Date Posted: 07 September 2007 at 2:07am
Hi,
As same workaround,
 
For frmDocument change:
StartPosition=Manual
Location=-50,-50
Size=1000,1000
 
or any values to show frmDocument first our of MDI client.
 
also add

CommandBars.RecalcLayout();

in the end of void LoadNewDoc()


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


Posted By: tobi
Date Posted: 07 September 2007 at 3:39pm
Hi Oleg,
 
thank you very much for this workaround ! It solves most of the flickering !
The only issue I still see is that the whole tabbed workspace area flushes for a second if I add new child document ...
 
Do you know a way to prevent this too ?
 


Posted By: Oleg
Date Posted: 09 September 2007 at 3:32am
have you added

CommandBars.RecalcLayout();

before

this.Refresh();

?


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


Posted By: tobi
Date Posted: 09 September 2007 at 5:51am
Oops ! I´ve added CommandBars.RecalcLayout after this.Refresh !
 
Now it seems to work fantastic !!
 
Thank you very much Oleg !!!


Posted By: tobi
Date Posted: 10 September 2007 at 1:37pm
Hi Oleg,
 
I´ve found one issue regarding this topic while testing:
 
Once I´ve a open mdi child window, when changing the application style
( Office2003, OfficeXP, .. ) the complete window flushes !
You can reproduce this with your MDISample ( VB.NET ) too ...
 


Posted By: Oleg
Date Posted: 11 September 2007 at 1:31am
Hi,
 
It will be fixed in our sources for 11.2 release.
Thanks.


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


Posted By: tobi
Date Posted: 16 September 2007 at 9:52am
Oleg, I tested this problem with v11.2 and it still exists !?


Posted By: Oleg
Date Posted: 17 September 2007 at 5:40am
Hi,
 
And do you see it in our MDISample? :(


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


Posted By: tobi
Date Posted: 17 September 2007 at 7:05am
Yes ! In the VB.NET MDISample !


Posted By: tobi
Date Posted: 17 September 2007 at 7:20am
It seems to only appear if you have
 
a) mdi client windows opened and
b) you change theme/style from or to OfficeXP


Posted By: tobi
Date Posted: 09 October 2007 at 8:38am
Will this be fixed in v11.2.1 ?


Posted By: Oleg
Date Posted: 09 October 2007 at 3:05pm
Hi,
 
I don't see any problems with our sample :(


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


Posted By: tobi
Date Posted: 14 October 2007 at 5:44am
Hi Oleg,
 
did you try the VB.NET MDISample sample ? Please make sure you
 
a) opened a mdi client document window
b) change theme/style from or to OfficeXP
 
 
I tried on two different machines with exact the same behaviour ...
 


Posted By: tobi
Date Posted: 15 October 2007 at 2:46pm
Are you able to reproduce the behavior ?


Posted By: Oleg
Date Posted: 16 October 2007 at 2:53am
Hi,
No I can't. There was some changes after 11.2.0 and may be it fixed problem. Lets hope it will work for you with 11.2.1.
 
in what OS do you try it ?


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


Posted By: tobi
Date Posted: 16 October 2007 at 2:56am
Using Windows XP SP2 with all fixes ! Is it possible to get a beta build of 11.2.1 to test ?


Posted By: Oleg
Date Posted: 16 October 2007 at 5:18am
Hi,
 
Open new issue in issuetrack, I will send ocx to test.


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


Posted By: tobi
Date Posted: 19 October 2007 at 6:56am
Hi Oleg,
 
seems to work with 11.2.1 beta ! When can we expect release of 11.2.1 ?


Posted By: Oleg
Date Posted: 19 October 2007 at 7:04am

Hi,

Soon.


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


Posted By: tobi
Date Posted: 28 January 2010 at 9:25am
I have to reactivate this topic !
My customers reported flushing on the right side of the window on large displays (1600+ width)...
I'm able to reproduce it with XtremeSuite 13.2.1 with c# in VisualStudio 2008:
Near the right side of the window when adding a new mdi child it seems as the right border of the child form is displayed for short !

Oleg's workaround

As same workaround,
 
For frmDocument change:
StartPosition=Manual
Location=-50,-50
Size=1000,1000
 
or any values to show frmDocument first our of MDI client.
 
also add

CommandBars.RecalcLayout();

in the end of void LoadNewDoc()

does not work here !
Also increasing size to 2000+ does not help !

Is there any solution or other workaround known ?




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