Link to home
Start Free TrialLog in
Avatar of igalb
igalb

asked on

COLORREF convert to long

Hi,
Is there a way to convert COLORREF to long (and vice-versa) ??

thanks,
Igal.
ASKER CERTIFIED SOLUTION
Avatar of freewell
freewell

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
COLRREF is a "unsigned long" definition

typedef unsigned long       DWORD;
typedef DWORD   COLORREF;

Rosh :)