Home » U++ Library support » TopWindow&PopUp, TrayIcon » How to handle child windows
Re: How to handle child windows [message #9698 is a reply to message #9695] |
Fri, 25 May 2007 11:02   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
michael wrote on Fri, 25 May 2007 03:33 | Is there a way to get the topwindow position and then place a new window relative to the main topwindow, like this?
SetRect(mainWndX + 10, mainWndY + 10, 300, 300);
Michael
|
Yes, GetRect(). For this purpose, top-level windows are considered "desktop children".
One thing you need to know, however: TopLevel window positions are positions without "decorations" provided by host-os, means window caption and thick frame are "outside" this position.
|
|
|
 |
|
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:19:49 CEST 2025
Total time taken to generate the page: 0.00726 seconds
|