Print Page | Close Window

Window height increasing

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=11666
Printed Date: 16 June 2025 at 6:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Window height increasing
Posted By: cmdbarSys
Subject: Window height increasing
Date Posted: 30 July 2008 at 3:35pm
I am using command bars and I have a problem wherein the height of the form is increasing by 33 pixels each time I restore it from the task bar after minimizing it. Following code is the one which is causing the problem.

ActiveRibbonBar().EnableFrameTheme();

Please help me in getting over this problem.

 




Replies:
Posted By: Oleg
Date Posted: 31 July 2008 at 1:51am
Do you see it with our sample ?

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


Posted By: cmdbarSys
Date Posted: 31 July 2008 at 9:29am
Yes, I am facing the same problem with the sample.


Posted By: Oleg
Date Posted: 01 August 2008 at 2:53am
What OS do you have/ Suite version ?

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


Posted By: cmdbarSys
Date Posted: 01 August 2008 at 9:23am
Product: Xtreme SuitePro (ActiveX) version 11.2.0.0
Platform: Windows XP (32bit) - SP 3
Language: Visual C#(Visual Studio 2008)


-------------
Product: Xtreme SuitePro ActiveX v13.1.0
Platform: Windows Vista Business(32bit) - SP 2
Language: Visual C#(Visual Studio 2008)


Posted By: Aaron
Date Posted: 01 August 2008 at 9:36am
Originally posted by cmdbarSys cmdbarSys wrote:

It's Microsoft Windows XP. Version 5.1. Service pack 3.
 
Hi,
 
Oleg ment also what CJ version you use.
 
If you would take the time and read this post: http://forum.codejock.com/forum_posts.asp?TID=11225 - http://forum.codejock.com/forum_posts.asp?TID=11225  
 
Would be easier for all of us


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: Oleg
Date Posted: 03 August 2008 at 4:21am
Hi,
 
Sorry, can't reproduce it :( Maybe was fixed already. Please download last evaluation vesion or compiled exe and check.


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


Posted By: cmdbarSys
Date Posted: 29 June 2009 at 5:39pm
This is how fixed it in the form resize event

int formWidth;

int formHeight;

private void form1_Resize(object sender, EventArgs e)

{

if (WindowState == FormWindowState.Minimized || WindowState == FormWindowState.Maximized)

{

this.Width = formWidth;

this.Height = formHeight;

}

else

{
 
formWidth = this.Width;
formHeight = this.Height;
 
}
 
}



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