Link to home
Start Free TrialLog in
Avatar of brutebass
brutebass

asked on

resolution change taskbar stuck halfway desktop

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.
ASKER CERTIFIED SOLUTION
Avatar of robert_marquardt
robert_marquardt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi brutebass,

try this:

SystemParametersInfo(SPI_SETDESKWALLPAPER,0,0     ,SPIF_SENDCHANGE);

-----
Igor
Avatar of brutebass
brutebass

ASKER

thanks , it works! :)