Link to home
Start Free TrialLog in
Avatar of win32
win32

asked on

COLORREF elements

Hi

Is there a smart way to get the number of ellements in a COLORREF ?

ASKER CERTIFIED SOLUTION
Avatar of Pacman
Pacman
Flag of Germany image

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
Avatar of iProgram
iProgram

COLORREF col=0xFF12FA;
col==RGB(0xFF,0x12,0xFA)
if you want to extract the R,G,B-values:

use the macros

GetRValue()
GetGValue()
GetBValue()
win32,

is your question answered ?