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 


Marlett.ttf - System Font
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Knowledge Base
View previous topic :: View next topic  
Author Message
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Tue Mar 25, 2003 3:50 pm    Post subject: Marlett.ttf - System Font Reply with quote

The Marlett.ttf font in the windows fonts directory (usually hidden) is the
main font that controls the Min, Max and close glyphs and also some
radio and check boxes. This font in on all windows OSs. It can be use on
VDS apps for people who want to make a skinned app or an app with no
title bar. I use it on a dialogs with no title bar and use the resize glyph
so people know where to grab to resize a no title dialog.

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Tue Mar 25, 2003 4:40 pm    Post subject: Reply with quote

Nice to know! Can you post a code example of how you use the glyphs?
Back to top
View user's profile Send private message Send e-mail
Skit3000
Admin Team


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

PostPosted: Tue Mar 25, 2003 5:13 pm    Post subject: Reply with quote

It's a strange font, watch this...

Code:

  DIALOG CREATE,New Dialog,-1,0,200,160
  DIALOG ADD,STYLE,STYLE1,Marlett.ttf,,,,
  DIALOG ADD,LIST,LIST1,4,10,180,144,,STYLE1,CLICK
  DIALOG SHOW

  %%char = 1
  repeat
  list add,list1,@asc(%%char)
  %%char = @succ(%%char)
  until @equal(%%char,1000)

:Evloop
wait event
goto @event()

:List1click
info ASC number: @index(list1)
goto Evloop

:Close
exit
Back to top
View user's profile Send private message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Tue Mar 25, 2003 5:21 pm    Post subject: Reply with quote

Wow! Very strange... but useful for sure. Thanks for the tip! Very Happy
Back to top
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Mar 25, 2003 7:58 pm    Post subject: Reply with quote

The min, max, close, etc. symbols can also be found in the WEBDINGS
font. Wink

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Tue Mar 25, 2003 8:31 pm    Post subject: Reply with quote

If you open the marlett font in a font viewer that allows you to see all of
the characters available in the font, you'll see that there are only a few
characters/glyphs available in this font. There are no alpha or numeric
characters available for use in this font. It is for glyphs only like the
dings fonts.

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Mar 25, 2003 8:34 pm    Post subject: Reply with quote

I looked at it before in Windows' included character map:

Quote:
%SystemRoot%\System32\charmap.exe

_________________
FreezingFire
VDSWORLD.com
Site Admin Team


Last edited by FreezingFire on Tue Mar 25, 2003 8:35 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Tue Mar 25, 2003 8:35 pm    Post subject: Reply with quote

Very true FF, but, Marlett is the font Windows uses for the controls. So, if
you were to change the font, the control glyphs would change to. I have
done that on my system. It's just a nice little change. Smile Also, I know
some people who do not have the Webdings font (I think Mac may be one).
So if you were to use that font in a VDS app, the user may or maynot see
anything on your VDS app that uses webdings.

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Mar 25, 2003 8:36 pm    Post subject: Reply with quote

That's true LiquidCode that a user might not have the font. However, I didn't
know that Windows used that font; I always thought it used the Webdings
font.

Thanks for the tip. Very Happy

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Mar 25, 2003 9:50 pm    Post subject: Reply with quote

Although Windows 95 doesn NOT come with webdings, I dloaded
and installed 'em... Wink

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Tue Mar 25, 2003 10:53 pm    Post subject: Reply with quote

You know, Mac, I bet you've souped up your Windows 95 machine sooo
much that it's better than even XP. Laughing

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Tue Mar 25, 2003 11:03 pm    Post subject: Reply with quote

LOL FF, I'm sure ya'd get a lotta disagreement on that one. Laughing

Don't think I'd trade for XP today though - 95 still does all I need. Wink

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Wed Mar 26, 2003 7:35 am    Post subject: Reply with quote

I think even I'd prefer 95 over XP any day!!! Heck, I'd even use bug filled
WinME over XP!!

-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Hortalonus
Valued Contributor
Valued Contributor


Joined: 15 Mar 2002
Posts: 344
Location: Western USA

PostPosted: Wed Mar 26, 2003 2:14 pm    Post subject: Reply with quote

Garrett wrote:
Heck, I'd even use bug filled WinME over XP!!

<gasp!> Perish the thought! Laughing
Back to top
View user's profile Send private message Send e-mail
Skit3000
Admin Team


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

PostPosted: Wed Mar 26, 2003 6:18 pm    Post subject: Reply with quote

But does anybody know how to get those minimize, maximize and close glyphs?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Knowledge Base All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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