Hex Value Input

I know how to create edit controls and get input and all that, but how do you get input as a hex value? In console applications you would cin >> hex >> x; and it will convert it to hex when getting the input, anything I can do for this in Win32?
Try sscanf_s

first get text from editbox

then use something like this

sscanf_s(InputBuffer,"%x",&valueOut);

hope this helps
Topic archived. No new replies allowed.