Click here to Skip to main content
15,889,867 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an application,in that application some amount data come from one hardware interface and after that I have to display that data in some control of MFC how can I implement it Please help
Thanks in advance
Posted

1 solution

What kind of data ? The representation is more or less always dependent of the data.

Is it text/numerical values ? is it some kind of numerical data that you need to graph them ?

you can use a CListBox or a CListCtrl to display data in a list or tabular fashion (or if needing a "spreadshet" type control, look for (MFC Grid control 2.27[^] )

you can use a CTreelCtrl for hierarchical data

If none of the existing controls suit you, you can look for a 3rd party UI control.

If no 3rd party control work for you, you will have to design and code it yourself based on your requirements and specifications.

Most controls start from a CWnd derived class.

Good luck.
 
Share this answer
 
Comments
debarunb 18-Jun-13 8:25am    
Thanks for your reply I have to just show the ASCII character,not in tabular form just I have to show it(for example multi line editbox)how to do this?
Maximilien 18-Jun-13 9:45am    
You could use a multiline editbox; you need to set the selection at the end of the current text, and replace the text at this point (see this http://stackoverflow.com/questions/3099510/how-to-change-append-the-text-of-edit-control-box-in-that-dialog-when-i-pressed)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900