screen-resolution

javascript:find screen resolution when having multiple monitors

I am using this piece of code to determine the client screen resolution, and then logging it <input type="hidden" id="DFF63C7E-FB32-49AE-8ADA-3AB5C4834FB0" name="DFF63C7E-FB32-49AE-8ADA-3AB5C4834FB0"/> <input type="hidden" id="565C07CF-0D37-41DE-B47D-A247E9BD231B" name="565C07CF-0D37-41DE-B47D-A247E9BD231B" /> <script type="text/javasc...

Can I detect the display size/resolution in Emacs?

I'd like to change the window/frame size of my XEmacs based on the current display resolution. This is useful when I run my laptop either by itself or attached to a docking station with an external monitor. In either situation, I'd like Emacs to detect the primary screen resolution and adjust its main window frame size accordingly when ...

resolution issue in silverlight

HI, i need to have a resolution independant UI in silverlight application. Will it support implicitly or should it be taken care in code behind doing ScaleTransform ? will it support multiple browsers as well ? Thanks in advance. ...

How to detect the screen resolution with JavaScript?

Is there a way that works for all browsers? ...

Silverlight 3: Techniques for adjusting to screen resolution

My developer's box has a screen resolution of 1680 x 1050. I'm developing a full-screen Silverlight 3 application that I'm considering deploying to the Internet. So, I want to make sure the application looks good on a variety of screen resolutions. I just started testing on other boxes, the first one having a screen resolution of 1024...

How to determine height of the Display on Blackberry touch devices?

Hi. I trying to determine display vertical size of my Blackberry Storm 2. I know, my device has 480 pixels height. I try to get this value in my code, but if virtual keyboard is shown, i get value equals to 480 - (height of virtual keyboard). Is there any function to determine real display height on any device (with or without keyboard,...

Grow / Zoom VB.NET Form

Is there an easy way to grow / zoom a VB.NET application and all controls within it to fill a larger screen resolution (or must I adjust each form element individually)? NOTE: Adjusting the resolution back is not a permanent (or preferred) option in this case. ...

What tool can I use to test my web app in different resolutions?

Back in the past, i found a third party webpage that was able to capture and save images of my website in different resolutions and browsers. Of course i have no more that bookmark... So is there any webpage or application where i can see how my webpage looks like in different resolution? And here are the resolutions i would like to ...

Screen resolution on KDE and Windows

I was developing a small application using Qt4 to get it cross-platform, but when I compared the result I found a really disturbing issue. On both Linux (KDE4) and Windows 7 my screen resolution is 1680 x 1050 but on KDE my application widgets are bigger and there is not enough place to have both important widgets opened without one be...

Screen Resolutions

I am testing an application and need to test it with different screen resolutions with windows form applications. What is the common resolution tested for now days? ...

GetSystemMetrics() returns wrong value for SM_CXSCREEN

I've run into an interesting problem. At least in Vista, getSystemMetrics(SM_CXSCREEN) returns an incorrect value when the desktop DPI settings aren't set at 100%. For example, I tried 150% in a 1366x768 screen and getSystemMetrics() returns 911 instead of 1366 (and 1366 / 1.5 ~ 911) According to the MSDN, getSystemMetrics(SM_CXSCREEN) ...

I have a page that contains both Flex and HTML at the same time. How do I make it cross resolution?

Hey guys, In one of my pages, I use a Flex 4 app in a column on the left, and then normal HTML in a column to the right. Is there anyway I can make it so that the ratio between the two columns is the same no matter the resolution? Thanks for reading. ...

Is it bad to work with pixels in CSS?

Is it bad in terms of compatibility to use pixel numbers in CSS instead of percentages? How about lower resolutions? Is it okay to work with them in ranges of 1-100? ...

How to accommodate for the iPhone 4 screen resolution?

This is a programming question! Read on before you vote to close! According to Apple, the iPhone 4 has a new and better screen resolution: 3.5-inch (diagonal) widescreen Multi-Touch display 960-by-640-pixel resolution at 326 ppi This little detail affects our apps in a heavy way. Most of the demo apps on the net have one thing i...

Access User's Possible Screen Resolutions - C# 2010

Thanks in advance for your help. I am wondering how I might go about accessing the screen resolutions available on a user's PC. I would like to get a list of all available resolutions and also determine what the user is current running at. ...

Strategies for Handling Multiple Screen Resolutions and Aspect Ratios in Web Development

Back in the day, 800 x 600 was the screen resolution to design for - and maybe 640 x 480. Then along came 1024 x 768, etc, etc, etc. But then it gets worse: now we have not only different resolutions but also different aspect ratios. What strategies do people use to accommodate today's ever-expanding range of screen sizes and aspect ...

changing screen size

Hello, I am developing an application for MS Windows in Java. What I want to do and don't know how is this: Let's say the user's screen resolution is set to 1000x1000, and my app size is 400x100. Now I want to change the user's screen size to 1000x900 and put my app in this 100px high bar. When a user will open i.e. a internet browser an...

Mimic/emulate a specific screen resolution for sizing WinForms?

I am currently developing a Winforms Application that will run on a very specific tablet PC. My development environment uses dual-17" monitors which are far bigger than the tablet screen size of 10.4" (1024x768). Due to the purchasing department at my company the delivery of the tablet will not be until well into the design cycle. ...

conditional statement for resolution?

I would like to use a conditional statement to attach a different stylesheet for: if the clients resolution is <= 1024*768 I'm pretty sure this is possible, but have never seen the code for it before? ps. I am not looking for a javascript solution ...

Distinguish between panning and normal screen modes in code - Windows

Hello. I am writing a full-screen 3D game and I have created a menu in which the user may select the screen resolution to match his hardware capacity. I am enumerating all the available screen modes with EnumDisplaySettingsExA like this : std::vector<DEVMODEA> modes; DEVMODEA modeInfo; int modeNum = -1; while (EnumDispl...