Remi_CG
November 23rd, 1999, 09:39 AM
I need to know how to input things into a richtext box that are in a list view. I know how to do it but it looks really ugly . Does anyone now how to line it up so it looks like it does in the list view. Oh if your gonna tell me to export it to excell that's already been done this is for ppl witkout excell loaded.
can u please help !!!!!!
thanks
Ravi Kiran
November 23rd, 1999, 07:58 PM
Hi,
You could try this:
Set the tab stops of your RTB.. may be with EM_SETTABSTOPS message. Then you can concatenate all the strings of one listitem in the list view with vbtabs (and newline in the end) and then add that resulting string to the RTB.
This will automatically arrange & allign them with tabs.
You have to play around with the tab-stops values because they are specified in Dialog Units. Or take a deep plunge into API, and look at MapDialogRect and related funcs.
If you want lines and the like, IDNK.
RK