Get the screen resolutions

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
BSB

Get the screen resolutions

Post by BSB » 19 Nov 2007, 08:07

 Posted by:  BSB 

Hi folks,

What is the API to get all the resolutions supported by the user monitor ?
If the application is deployed on Citrix Environment and the application is
published to the user, using the API I should be able to get the monitor
resolutions of the user monitor and not of the Citrix Server monitor.

Thanks in advance.
Seshu.

Check Abdoul

Re: Get the screen resolutions

Post by Check Abdoul » 19 Nov 2007, 08:13

 Posted by:  Check Abdoul 

Take a look at the GetSystemMetrics() API in msdn.

Cheers
Check Abdoul
---------------------

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 2370
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: Get the screen resolutions

Post by Jeff Luther » 19 Nov 2007, 17:48

 Posted by:  Jeff Luther 

Here's something from Christian S. that should help you. I've saved it in
v1.5, so you'll be sure to be able to read it in.

Best Regards,
Jeff @ PC Design
info. & samples: www.JeffLuther.net/gupta/

You do not have the required permissions to view the files attached to this post.

BSB

Re: Get the screen resolutions

Post by BSB » 27 Nov 2007, 06:12

 Posted by:  BSB 

Jeff, Abdoul

Thanks for your response. When I run the application from my desktop using
citrix client, the resolution displayed in the combo is of the Citrix
Server's monitor and not that of my desktop monitor supported resolutions.
Do you have any idea of how to get the clients desktop resolution in citrix
environment ?

Thanks
Seshu.

Jeff Luther
Site Admin
Site Admin
United States of America
Posts: 2370
Joined: 04 Mar 2017, 18:34
Location: Palm Springs, California

Re: Get the screen resolutions

Post by Jeff Luther » 27 Nov 2007, 17:10

 Posted by:  Jeff Luther 

"How to get the clients desktop resolution in citrix environment ?" - no, sorry
I don't. Perhaps someone else here does.

Alternatively, I see several interesting possibles for more info. via this
search on google (I had searched for: desktop resolution citrix environment):
http://www.google.com/search?q=desktop+resolution+citrix+environment&ie=utf-8&oe=utf-8

Among those I see how to change the resolution; perhaps there's info. on how
to detect what the current res. is.

- Jeff

Jim McNamara

Re: Get the screen resolutions

Post by Jim McNamara » 27 Nov 2007, 18:43

 Posted by:  Jim McNamara 

I suspect that Citrix is probably where you need to go for an answer to this
question.

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests