U++ framework
Do not panic. Ask here before giving up.

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: 14290
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: Sun Apr 26 20:15:26 GMT+2 2026

Total time taken to generate the page: 0.00559 seconds