Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

convert unsigned char(hexadecimal value to Cstring) and add to listbox

Posted on 2004-04-27
1
Medium Priority
?
1,182 Views
Last Modified: 2013-11-20
Hi ,
Iam new to VC++...
How to display unsigned char(holds hexadecimal value) in list box control.
listbox control takes only strings(CString).
how do i convert hexadecimal value to cstring...

example i want to display F212D915 in list box control

Thanks
Sahaj
0
Comment
Question by:su_us_76
1 Comment
 
LVL 45

Accepted Solution

by:
AndyAinscow earned 375 total points
ID: 10930549
CString s;
s.Format("%x", hexValue);  //or similar format, look up printf in help
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question