QuoteSince this is a script module meant for general consumption I have no way of knowing what font someone may use in the future. I agree that the margins could probably be easily fudged.
Even so, on a Box-by-Box basis, surely you'll know what font you used, and could work out the necessary difference and use that plus a fixed amount for the margins instead?
QuoteThanks you found a bug for me. WinBluListBox is a pointer variable and should be used in all instances. I hadn't caught it before because gListBox is the actual control pointer and it value gets copied to the WinBluListBox variable. Script above has been corrected. Thanks.
I got the idea, but it looks like you're altering the size of WinBluListBox, while checking against gListbox.RowCount - and I