Solved

resolution change taskbar stuck halfway desktop

Posted on 2001-08-13
3
172 Views
Last Modified: 2010-04-04
i'm letting my program automatically changing from 640x480 to 800x600 (when it's valid of course),

but now the taskbar doesnt move to the bottom of the screen, but stays somewhere on the desktop. this is very annoying. i tried to broadcast a WM_DISPLAYCHANGE, but it doesnt work.

i'd be very happy :-), if someone helped me

thanks.
0
Comment
Question by:brutebass
3 Comments
 
LVL 11

Accepted Solution

by:
robert_marquardt earned 100 total points
ID: 6379254
Try adding CDS_UPDATEREGISTRY to the flags of ChangeDisplaySettings.
The taskbar gets its information on screen resolution from the registry.
0
 
LVL 9

Expert Comment

by:ITugay
ID: 6379283
Hi brutebass,

try this:

SystemParametersInfo(SPI_SETDESKWALLPAPER,0,0     ,SPIF_SENDCHANGE);

-----
Igor
0
 

Author Comment

by:brutebass
ID: 6379341
thanks , it works! :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
automatically logging in via bde delphi 3 67
indy tidtcpclient threading issue 8 63
Newbie Thread Programming 1 138
Dynamically Created Query 3 48
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now