Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Sizeable().Zoomable()
Sizeable().Zoomable() [message #35691] Tue, 13 March 2012 17:21 Go to next message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
Hello guys,
I'm here again with a new little problem!

Is it possible to make a window Sizeable only ?!
using
CtrlLayout(*this, "Scala");
Sizeable().Zoomable();

my windows is correctly sizeable and zoomable... i would like to have an only sizeable window but with
CtrlLayout(*this, "Scala");
Sizeable();

nothing happen Sad

regards,
Matteo
Re: Sizeable().Zoomable() [message #35695 is a reply to message #35691] Tue, 13 March 2012 19:05 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Matteo,

The only result of calling Sizeable() is (and should be) that the window can be resized. The Zoomable() method only adds maximize and minimize buttons in the title bar (at least on windows, on other systems the behaviour might be slightly different).

If you experience different behaviour then described above, please specify on which platform you are testing this and how exactly does it misbehave.

Best regards,
Honza
Re: Sizeable().Zoomable() [message #35698 is a reply to message #35695] Tue, 13 March 2012 20:28 Go to previous messageGo to next message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
oh God! you are true...

my problem is completely different!
on the top right of my window I have the close botton!

adding
CtrlLayout(*this, "Scala");
Sizeable().Zoomable();


i can see:
1- close botton
2- reduce to icon
3- larger bottom

How can i have only the first and second one ?!

Thanks, Matteo
Re: Sizeable().Zoomable() [message #35699 is a reply to message #35698] Tue, 13 March 2012 22:05 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

idkfa46 wrote on Tue, 13 March 2012 20:28

i can see:
1- close botton
2- reduce to icon
3- larger bottom

How can i have only the first and second one ?!

The closing button is always there. The minimize button can be added by calling MinimizeBox().

Actually Zoomable() is equivalent to MinimizeBox().MaximizeBox() Wink

Honza
Re: Sizeable().Zoomable() [message #35705 is a reply to message #35698] Wed, 14 March 2012 03:23 Go to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
my advice in such cases would be - jump inside (with alt_J shortcut?) CtrlLib and CtrlCore and check the sources... or even put some logs there...
Previous Topic: Problem using more classes...
Next Topic: display approximation...
Goto Forum:
  


Current Time: Thu Apr 25 01:40:46 CEST 2024

Total time taken to generate the page: 1.01726 seconds