VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Screen Resolution Changer

Vince Soto  (2 Submissions)   Graphics   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This project demonstrates how to change screen resolution (i.e. screen area in display settings) to any supported value on your machine.

Inputs
User sets screen resolution.

Assumes
There are some extra API calls which are not used in this project because it is going into something bigger which uses several other graphics capabilities, such as recreating TransparentBlt from msimg32.dll because of the memory leak in the function in win9x.

Returns
Sets screen resolution based on default refresh rate values for resolutions.

Side Effects
Note: This is a basic sample, and does not prompt the user to insure the resolution chosen is compatible with the monitor (or monitor driver) installed on the computer. If you are unsure about your display capabilities, do not set the resolution higher than what you are currently using!

API Declarations
BitBlt SetBkColor CreateCompatibleDC DeleteDC CreateBitmap CreateCompatibleBitmap SelectObject DeleteObject GetObject ChangeDisplaySettings EnumDisplaySettings ExitWindowsEx GetDeviceCaps
and more

Rate Screen Resolution Changer (2(2 Vote))

Download Screen Resolution Changer

Screen Resolution Changer Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters