![]() |
Window height increasing |
Post Reply ![]() |
Author | |
cmdbarSys ![]() Groupie ![]() Joined: 30 July 2008 Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() 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. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Do you see it with our sample ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
cmdbarSys ![]() Groupie ![]() Joined: 30 July 2008 Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() |
Yes, I am facing the same problem with the sample.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
What OS do you have/ Suite version ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
cmdbarSys ![]() Groupie ![]() Joined: 30 July 2008 Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() |
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) |
|
![]() |
|
Aaron ![]() Senior Member ![]() Joined: 29 January 2008 Status: Offline Points: 2192 |
![]() ![]() ![]() ![]() ![]() |
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
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.... |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
cmdbarSys ![]() Groupie ![]() Joined: 30 July 2008 Status: Offline Points: 15 |
![]() ![]() ![]() ![]() ![]() |
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;
}
} |
|
![]() |
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 |