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 » U++ Library support » TopWindow&PopUp, TrayIcon » same layout with different dimensions
Re: same layout with different dimensions [message #56936 is a reply to message #56933] Sat, 01 May 2021 20:44 Go to previous message
BetoValle is currently offline  BetoValle
Messages: 203
Registered: September 2020
Location: Brasil Valinhos SP
Experienced Member
Thanks Mirek!

Didier, I don't know if it was this shape below that I was guessing.
After a predefined screen .lay file, in the first runtime that changes dimension will only work if it calls "SetMinSize" and then, then, use, SetRect securing permission with true to Sizeable

this below work!


    CtrlLayout ( *this, "Window title" ) // original lay out size(800,600)
    Sizeable(true);
    [b]SetMinSize(80,20);[/b]
    SetRect(0,0,400,200);  //this dimension will be displayed 
    Sizeable(false)




this below not work!



    CtrlLayout ( *this, "Window title" ) // original lay out size(800,600)
    Sizeable(true);
    SetRect(0,0,400,200);
    Sizeable(false)


 
Read Message
Read Message
Read Message
Read Message
Previous Topic: TopWindow when Close override show exception unduly
Next Topic: Multi monitor support
Goto Forum:
  


Current Time: Fri Apr 19 06:24:26 CEST 2024

Total time taken to generate the page: 0.01559 seconds