Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Window height increasing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Window height increasing

 Post Reply Post Reply
Author
Message Reverse Sort Order
cmdbarSys View Drop Down
Groupie
Groupie


Joined: 30 July 2008
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmdbarSys Quote  Post ReplyReply Direct Link To This Post Topic: Window height increasing
    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;
 
}
 
}
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: 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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 
 
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....
Back to Top
cmdbarSys View Drop Down
Groupie
Groupie


Joined: 30 July 2008
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmdbarSys Quote  Post ReplyReply Direct Link To This Post 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)
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: 01 August 2008 at 2:53am
What OS do you have/ Suite version ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
cmdbarSys View Drop Down
Groupie
Groupie


Joined: 30 July 2008
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmdbarSys Quote  Post ReplyReply Direct Link To This Post Posted: 31 July 2008 at 9:29am
Yes, I am facing the same problem with the sample.
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: 31 July 2008 at 1:51am
Do you see it with our sample ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
cmdbarSys View Drop Down
Groupie
Groupie


Joined: 30 July 2008
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote cmdbarSys Quote  Post ReplyReply Direct Link To This Post 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.

 

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.092 seconds.