Posted by Grant Foraker on February 13, 2007 at 14:20:07:
In Reply to: Re: ListView posted by Brian Levantine on February 13, 2007 at 09:32:35:
Brian:
OK, COS.GetClientRect gets me cosLeft and cosRight. The difference is the width of the ListView in pixels. Is this the number I should be using for cosWidth just ahead of Gosub COS.ListView.InsertTextColumn?
The VS dialog size doesn't matter. The font size doesn't matter. The number of characters (74) in the one and only column doesn't matter. If what I send to the ListView doesn't fit and causes a horizontal scroll bar to appear then I can either make my print line shorter or reduce the font for the control.
Or am I all wet?