Home » U++ Library support » TopWindow&PopUp, TrayIcon » How to handle child windows
Re: How to handle child windows [message #9700 is a reply to message #9699] |
Fri, 25 May 2007 14:09   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
michael wrote on Fri, 25 May 2007 05:58 | Ok, that works.
But how can i use GetRect to get only the position, not the size?
I only want to get the x-pos, the y-pos of the topwindow and set it on the childwindow with SetRect(x-pos, y-pos, 300, 400);
GetRect delivers the complete Position and Size of the topwindow, how can i split these information?
Michael
|
E.g.
Rect r;
Point p(r.left, r.top);
Point p = r.TopLeft();
Size sz = r.GetSize();
etc...
Note: Press Ctrl+Q and type there "Rect". Or go to Rect id in sources and press Alt+J. (Parser is not perfect yet, but usually it works...)
|
|
|
 |
|
How to handle child windows
By: michael on Sun, 13 May 2007 00:46
|
 |
|
Re: How to handle child windows
By: forlano on Sun, 13 May 2007 10:00
|
 |
|
Re: How to handle child windows
By: michael on Sun, 13 May 2007 13:13
|
 |
|
Re: How to handle child windows
By: michael on Fri, 25 May 2007 09:33
|
 |
|
Re: How to handle child windows
By: mirek on Fri, 25 May 2007 11:02
|
 |
|
Re: How to handle child windows
By: michael on Fri, 25 May 2007 11:58
|
 |
|
Re: How to handle child windows
By: mirek on Fri, 25 May 2007 14:09
|
 |
|
Re: How to handle child windows
By: michael on Sat, 26 May 2007 20:22
|
 |
|
Re: How to handle child windows
By: mirek on Mon, 28 May 2007 14:12
|
 |
|
Re: How to handle child windows
By: michael on Mon, 28 May 2007 13:08
|
Goto Forum:
Current Time: Sun Apr 27 10:18:51 CEST 2025
Total time taken to generate the page: 0.00921 seconds
|