| View previous topic :: View next topic |
| Author |
Message |
steeld Valued Newbie

Joined: 03 May 2006 Posts: 26 Location: Cambridge, UK
|
Posted: Thu May 04, 2006 12:56 pm Post subject: What's the best way to show tabbed data? |
|
|
If I use INFO then the proportional font used doesn't permit tabbed data to be aligned correctly. Is it possible to change the font used or should I look at some other method of displaying such data?
Thanks _________________ David |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
steeld Valued Newbie

Joined: 03 May 2006 Posts: 26 Location: Cambridge, UK
|
Posted: Thu May 04, 2006 3:20 pm Post subject: |
|
|
Many thanks for that. That DLL does some of what I want. Unfortunately, using a fixed-width font like Courier means that my text now wraps as it is too long for the INFO box. If only I could have horizontal scroll bars...
All I want is to output tab delimited text with a fixed-width so it all lines up correctly. I don't really want to have to design something more complex to do this.
Thanks again _________________ David |
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Thu May 04, 2006 9:34 pm Post subject: |
|
|
If you are using VDS 5, you can call the DrawText() API function to draw
the text on your dialogs surface yourself. I believe this function can be
found in the user32.dll. You will also need to utilize a couple GDI functions
to clear the drawn text from the dialog surface. Look into the FillRect() or
the FloodFill() API functions for clearing thedialog surface.
Hope this helps.  _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
|