I am writing a virtual desktop program, and would like to change the desktop colour, to indicate different desktops. Anybody know the commands??

thanks, John
Posted on 2002-07-22 19:29:44 by mega
ok, sorry everybody, found what i was looking for,

use

lea esi,buff
mov eax,COLOR_BACKGROUND
mov ,eax
mov eax,COL
mov ,eax
invoke SetSysColors, 1,ADDR buff, ADDR buff+4

to do the trick.
Posted on 2002-07-22 23:53:00 by mega