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 » U++ Library : Other (not classified elsewhere) » Monitor Size
Re: Monitor Size [message #16545 is a reply to message #16542] Tue, 24 June 2008 13:07 Go to previous messageGo to previous message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Well!
Thank you to Max and Andrei for help me to detect monitor size in millimetres:

I propose to add a function in u++ to get windows size in millimetres
for example:

Size GetScreenSizeMM();

for windows will be:

Size GetScreenSizeMM(){
return(GetSizeCaps(HORZSIZE, VERTSIZE))
}

and for linux:

Size GetScreenSizeMM(){
return Size(DisplayWidthMM(Xdisplay, Xscreenno), DisplayHeightMM(Xdisplay, Xscreenno));
}

This function will be helpful for me and other programmers! It can be integrate in print preview for zooming 100% size!

[Updated on: Tue, 24 June 2008 13:08]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RemoveChild(GLCtrl) --> 100% CPU
Next Topic: Ctrl::Add(GLCtrl) Bug (Linux)
Goto Forum:
  


Current Time: Tue Aug 26 00:07:15 CEST 2025

Total time taken to generate the page: 0.05167 seconds