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 can I retrieve the current screen resolution?
Re: How can I retrieve the current screen resolution? [message #5198 is a reply to message #5195] Sun, 10 September 2006 14:26 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
GetClickFocus is wrong item.

Rect Ctrl::GetWorkArea();

It is not exactly screen resultion, but the rectangle of maximized window (in other words, screen resolution minus bottom start/tasklist pane).

Also please note that the window rectangle is specified without any platform specific border areas (so workarea is too big to be set as TopWindow rect).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Implementation of TrayIcon for linux
Next Topic: these nice bubbles...
Goto Forum:
  


Current Time: Mon Apr 29 13:17:16 CEST 2024

Total time taken to generate the page: 0.02958 seconds