Home » U++ Library support » U++ Widgets - General questions or Mixed problems » How to center the top most window?
|
|
|
Re: How to center the top most window? [message #30005 is a reply to message #30004] |
Thu, 02 December 2010 15:42 |
|
JoseB wrote on Thu, 02 December 2010 15:32 | in constructor I made this:
Rect r=GetRect();
SetRect(0, 0, r.right - r.left, r.bottom - r.top);
and the window is shown in the 0,0 coordinates. I want to center it in the screen
JoseB
|
CenterScreen(); after SetRect(..) would do that.
|
|
|
|
|
Goto Forum:
Current Time: Fri Mar 29 09:16:13 CET 2024
Total time taken to generate the page: 0.01778 seconds
|