[ros-dev] Problem drawing the desktop in the updated color

Saveliy Tretiakov saveliyt at mail.ru
Thu Aug 10 11:14:06 CEST 2006


Timo Kreuzer ?????:
> First question:
> Is there a reason you used HGDIOBJ and DWORD instead of HBRUSH and 
> COLORREF (that's what I used).
>
> Second question:
> Wouldn't an "(UINT Object)" make life easier here? There would be no 
> need for (Object < 0) (?)
> IntGetSysColor also uses an INT instead of UINT.
Maybe. I did it the same way it was in NtGdiGetStockObject.



More information about the Ros-dev mailing list