Home » U++ Library support » TopWindow&PopUp, TrayIcon » How to get top and left position of top window
Re: How to get top and left position of top window [message #31873 is a reply to message #31868] |
Sun, 03 April 2011 17:10   |
|
nlneilson wrote on Fri, 01 April 2011 22:57 | When debugging a watch set for "rect" gets this but I am not able to set a variable with this.
Same with Top and Left.
Get errors they are private/protected or whatever.
When a user moves the window to his preferred position I would like to save this to a config file.
Neil
|
Hi Neil,
Do you mean GetRect()?
Also, if you are interested in storing window placement, you might want to look at TopWindow::SerializePlacement(Stream& s,bool reminimize). It is aimed to binary serialization, but even if you use some other form (cfg file, XML,...) it should give you some inspiration.
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Sat Jun 07 21:27:46 CEST 2025
Total time taken to generate the page: 0.24684 seconds
|