forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


What's the best way to show tabbed data?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
steeld
Valued Newbie


Joined: 03 May 2006
Posts: 26
Location: Cambridge, UK

PostPosted: Thu May 04, 2006 12:56 pm    Post subject: What's the best way to show tabbed data? Reply with quote

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
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu May 04, 2006 1:18 pm    Post subject: Reply with quote

I believe CodeScripts' VDS GUI dll has an option to use custom fonts on messageboxes. You can give it a try by downloading it [ here ] Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
steeld
Valued Newbie


Joined: 03 May 2006
Posts: 26
Location: Cambridge, UK

PostPosted: Thu May 04, 2006 3:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Thu May 04, 2006 9:34 pm    Post subject: Reply with quote

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. Smile

_________________
Bill Weckel
ShinobiSoft Software

"The way is known to all, but not all know it."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group