Solved

resolution change taskbar stuck halfway desktop

Posted on 2001-08-13
3
173 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 100
FMX enumerated colours 2 101
Delphi Form ownership 4 90
Downloading email attachments 2 74
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

803 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