my requirement is: Can I align certain tabspace in between each of these CStrings. Means instead of the space in between the CStrings, Can I use a tab space or anything...which could be better for a nice view.......(Sorry,can't use database here)........thank u/.
Replace space with tab:
+_T("\t") instead of _T(" ");
Or use ListView in report mode instead of listbox.
Yes, but that would require an additional fixed size font, otherwise it would be pointless, because different characters have different widths.
Though I also stand with Arjay and recommend a list view instead, it is possible to have a list box with multiple columns. Here is an article with a sample: http://www.codeproject.com/KB/cpp/mclb.aspx.
Yes, but that would require an additional fixed size font, otherwise it would be pointless, because different characters have different widths.
Though I also stand with Arjay and recommend a list view instead, it is possible to have a list box with multiple columns. Here is an article with a sample: http://www.codeproject.com/KB/cpp/mclb.aspx.
I agree that the list control is better suited to the task, but the tabs will give him the appearance of columns, even though the individual characters may not line up exactly.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.