Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Colour Charts 1

Status
Not open for further replies.

Largefry

Programmer
Apr 28, 2003
9
GB
Hi.

Am stuck with creating a button that allows you to change the font colour of the Rich Text Box text via a default Colour chart. Can anybody tell me if there is an API of sorts to help me with this? for reference, the chart im trying to get hold of is the colour chart that can be accessed via any office application when you click the Font color Button.

Any help with this would be greatly appreaciated.

 
Check out the CommonDialog control, using the ShowColor method. It shows the standard range of colours, with an 'Define Custom Colors' button for the full range.

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top