December 21, 2014
Hot Topics:

Screen Resolutions

  • November 19, 2002
  • By Steve Anderson
  • Send Email »
  • More Articles »

It can often be useful to be able to retrieve or change the screen resolution direct from your VB application. For example, if you have written a game in VB, you may wish to set the screen resolution to 600x480. Desktop Publishing software would also benefit from being able to offer the user a one-click function to change the screen size.

You could even design a dynamic application that resizes all the controls on the form based on the current screen resolution.

This article will take you through some of the more important display setting functions that will prove valuable to the Visual Basic programmer.

Normally manipulating and displaying information on the display settings this would be done with the aid of the Display Properties applet in the control panel, but this article will teach you how to do the same programmatically using the Windows API.

Click here for a larger image.

The Display Settings Control Panel





Page 1 of 6



Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Sitemap | Contact Us

Rocket Fuel