[ros-dev] [ros-diffs] [jimtabor] 51835: [Win32k|User32] - Move creation of the scrollbar Gray brush from user32 to win32k. - Noticed a color and pattern (patchy white pattern) difference when using GreCreateBitmap and i...

Adam geekdundee at gmail.com
Sun May 22 10:05:23 UTC 2011


Eh... should have been a little clearer here.

I was thinking he wanted to set a bit pattern, and if you are setting a  
bit pattern like 0x55 or 0xAA then you'd need 8 hex digits for a 32-bit  
number. If you want "101010101..." or "0101010101..." for example.

In your example, sure a *value* wouldn't need the 8 digits, but if that  
was to be a bit pattern you could use 0x54545454 for example.

I was looking at his numbers thinking it was a pattern that needed to be  
filled up as 32-bit vectors instead of 16-bit ones.

On Sun, 22 May 2011 19:51:32 +1000, Aleksey Bragin <aleksey at reactos.org>  
wrote:

> Fantastic, so I suppose whenever I want my double word variable to have  
> a value of, say, 0x54 taking your friendly reminder about 8 hex digits  
> into account, I would need to write 0x54545454 because, you know, I need  
> 8 hex digits for 32-bit numbers and need to add some random stuff to  
> fill it up to 8 digits :)
>
> WBR,
> Aleksey.  
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/



More information about the Ros-dev mailing list