Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Commandbars tabbed mdi mode
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Commandbars tabbed mdi mode

 Post Reply Post Reply
Author
Message
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Topic: Commandbars tabbed mdi mode
    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
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 06 September 2007 at 5:50am
Hi,
 
Do you use EnableGroups option ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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 ?
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 09 September 2007 at 3:32am
have you added

CommandBars.RecalcLayout();

before

this.Refresh();

?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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 !!!
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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 ...
 
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 16 September 2007 at 9:52am
Oleg, I tested this problem with v11.2 and it still exists !?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2007 at 5:40am
Hi,
 
And do you see it in our MDISample? :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 17 September 2007 at 7:05am
Yes ! In the VB.NET MDISample !
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2007 at 8:38am
Will this be fixed in v11.2.1 ?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 09 October 2007 at 3:05pm
Hi,
 
I don't see any problems with our sample :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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 ...
 
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 15 October 2007 at 2:46pm
Are you able to reproduce the behavior ?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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 ?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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 ?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 19 October 2007 at 7:04am

Hi,

Soon.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post 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 ?

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.