I have a TextBox with font = MS Shell Dlg and size = 10.
Knowing the text it is possible to calculate the width of the TextBox before displaying?
Thanks.
There are Windows API functions for this, but nothing exposed via OpenDCL that I can think of.
With the current text style set to Arial Narrow, and TEXTSIZE set to 10, the results of (textbox '((1 . "Sample")) work very well.
--J
Hi, honkinberry, that's great! I haven't known this yet. Great!
Regards, Fred