Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » does exist a HtmlToColor?
Re: does exist a HtmlToColor? [message #10308 is a reply to message #10307] Sun, 01 July 2007 16:57 Go to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Routines you can use to convert from hex text string:

unsigned      stou(const char *ptr, void *endptr = NULL, unsigned base = 10);
inline unsigned stou(const byte *ptr, void *endptr = NULL, unsigned base = 10) { return stou((const char *)ptr, endptr, base); }
unsigned      stou(const wchar *ptr, void *endptr = NULL, unsigned base = 10);

uint64        stou64(const char *s, void *endptr = NULL, unsigned base = 10);

int           ScanInt(const char *ptr, const char **endptr = NULL, int radix = 10);
int           ScanInt(const wchar *ptr, const wchar **endptr = NULL, int radix = 10);


(Use 16 instead of 10...)
 
Read Message
Read Message
Previous Topic: Problem with FullScreen and PopUp
Next Topic: Howto add dynamic ctrls to topwindow
Goto Forum:
  


Current Time: Sat Jun 07 06:04:43 CEST 2025

Total time taken to generate the page: 0.04958 seconds