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 » U++ Widgets - General questions or Mixed problems » Layout designer clashes with SetRect
Layout designer clashes with SetRect [message #7082] Tue, 12 December 2006 20:12 Go to next message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
I use a .lay file to generate a top window. Afterwards I save the top left position, the width, and the height in an .ini file.

But when after restarting the application I use SetRect() to put the top window to its last position, only width and height are taken into account. The window is always centered.

How can I avoid this behavior?

Werner
Re: Layout designer clashes with SetRect [message #7085 is a reply to message #7082] Tue, 12 December 2006 23:07 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
TopWindow::NoCenter.

Mirek
Re: Layout designer clashes with SetRect [message #7086 is a reply to message #7082] Wed, 13 December 2006 04:39 Go to previous message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
Thanks.
Previous Topic: Tips in .lay files?
Next Topic: container of widgets
Goto Forum:
  


Current Time: Sat Apr 20 00:23:22 CEST 2024

Total time taken to generate the page: 0.06648 seconds