System Color for DCPUSHBUTTONXP

This forum is for eXpress++ general support.
Post Reply
Message
Author
Andy Edward
Posts: 103
Joined: Fri Sep 17, 2010 2:58 am

System Color for DCPUSHBUTTONXP

#1 Post by Andy Edward »

Hi,

Is there a way to get the system color's RGB info?

I want to use the colors for DCPUSHBUTTONXP foreground and background parameters.

I realize that XP, Windows 7, and Windows 8 have different system colors, so is there a method that can give me this info?

So I only need to check the system color's RGB and set the colors accordingly to my DCPUSHBUTTONXP

Best Regards,

Andy

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: System Color for DCPUSHBUTTONXP

#2 Post by rdonnay »

Try this:

Code: Select all

aRGB := GraGetRGBIntensity( GRA_CLR_DARKPINK ) 
It will return an array of 3 elements: Red, Green, Blue
The eXpress train is coming - and it has more cars.

Post Reply