Can someone tell me how to display the "inifinity symbol" inside of a listview item. For example, i was just using Azureus (bit torrent client) and noticed that they used this symbol under its ETA column. How do i do this?
1. Create a Dialog based application. Put _UNICODE in Project->Settings->C/C++->General->Preprocessor definitions. Add wWinMainCRTStartup in Project->Settings->Link->Entry-point symbol. See attached jpegs.
2. Add a CListCtrl REPORT style and an CEdit box to your dialog(use resource editor.) and add member variables of type CListCtrl/CEdit to the added controls.
3. Create a file (in Notepad) and put there all the UNICODE characters you want to display(the character ∞ is obtained by pressing ALT and 236. Save the file with 'Unicode' Encoding (File->Save as...). For a list of all the extended characters see Asciitable. Look for the Extended ASCII Codes section).
4. See OnInitDialog for the implemetation. The sample is attached
It might not be(I'm sure it's not ) the best solution, but it works.