On approximately 3/10/2003 3:56 AM, came the following characters from
the keyboard of Dean Lennox:
From the win32 gui example colors.gpl
$color = GUI::ChooseColor(-owner => $w);
Any idea how I can convert the decimal RGB value, $color to the HTML HEX
format ?
ie: selecting the colour green
Oops. I meant 16 raised to the power of 3 for 4096 NOT 16^4 ... sorry for
any confusion.
Also one other mistake I made:
When subtracting the integer portion of the "green column" you are not left
with the value of the "red cilumn", you still need to multiply by 256.
I think those are my onl
If you know your hexadecimal to decimal conversions, and decimal to
hexadecimal, it's easy:
To begin we need to undertsand that #00FF00 separates to:
HexcolorDec
=======
00 red 0
FF green255
00 blue 0
we get 255 because the characters 0 - 9 and A
Hi!
What I need is to know which ListView subitem is clicked.
Does anybody know any working way to do this?
Win32::GUI::ListView::HitTest() only returns the item clicked. I want to
know the subitem.
I tried using sending messages LVM_SUBITEMHITTEST and
ListView_SubItemHitTest() but in first case
>From the win32 gui example colors.gpl
$color = GUI::ChooseColor(-owner => $w);
Any idea how I can convert the decimal RGB value, $color to the HTML HEX format
?
ie: selecting the colour green returns 65280 How do I convert this to the HTML
HEX value: #00FF00 ?
Thanks!
5 matches
Mail list logo