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 #31906 is a reply to message #31904] |
Tue, 05 April 2011 21:21  |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
dolik.rce wrote on Tue, 05 April 2011 19:10 | 1. ... no guarantee that the Java window will always open at the same position...
2. All the important content from the webpage (excluding forum) is available within theide, so being off-line shouldn't be much of a problem...
3. (you can jump between them using the green arrows next to the search box)
4. the method GetRect() is a basic thing, mentioned in the tutorials and of course also in the Ctrl reference (which everyone using U++ GUI should read, along with TopWindow reference and few others...).
|
1. The Java window always opens in the top left corner. The different screen resolutions, the top task bar in Linux, etc. is what causes the shift. I didn't like or want a user to drag anything when the apps are started. Works fine now.
2. I noticed the help docs that are installed with Upp are very extensive now. That is a great help, I just need to get familiar with using it. Before it was very limited.
This is a very big improvement for someone getting started with Upp.
3. The green arrows are very handy.
4. That has been my problem in not spending enough time understanding "Ctrl reference, TopWindow reference and few others...". I just recently learned how to include bazaar in the options to choose when opening theIde. C:\upp\examples\Bombs\main.cpp has "Rect r = GetRect();" which didn't show how to get the left and top position. Other than that it is only found in bazaar and uppsrc. This is looking back as previously I was looking for "rect".
I appreciate the help, thanks Honza.
Neil
|
|
|
Goto Forum:
Current Time: Sun Jun 08 02:56:20 CEST 2025
Total time taken to generate the page: 0.04060 seconds
|