Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 #31895 is a reply to message #31873] Mon, 04 April 2011 23:13 Go to previous messageGo to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
dolik.rce wrote on Sun, 03 April 2011 17:10

Do you mean GetRect()? Smile


There are several threads on Upp/Python.
I am into Python, C/C++ (Upp) and Java so my head hurts sometime just keeping things straight.

One thing in Python is the Help is very good. Each function has a very simple example. Relating this to what would be useful in Upp for this problem could be:
int leftPosition = GetRect.left;

Assist->Search word in Help Topics->"GetRect"
will bring up enum PlacementConstants
First a person needs to know to search for "GetRect" rather than "rect".
Then for the enum GetRect.left rather than trying rect[0] or ???

Upp is very good but sometimes it is hard to find how to solve what should a simple problem.

Neil
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Windows that cant leave Mainwindow
Next Topic: Restoring TrayIcon control
Goto Forum:
  


Current Time: Sat Jun 07 22:04:02 CEST 2025

Total time taken to generate the page: 0.05227 seconds