Solved

resolution change taskbar stuck halfway desktop

Posted on 2001-08-13
3
171 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
Comment Utility
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
Comment Utility
Hi brutebass,

try this:

SystemParametersInfo(SPI_SETDESKWALLPAPER,0,0     ,SPIF_SENDCHANGE);

-----
Igor
0
 

Author Comment

by:brutebass
Comment Utility
thanks , it works! :)
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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

17 Experts available now in Live!

Get 1:1 Help Now