msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Setting Font of Msgbox / Inputbox

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise
Author Message
Gérard Leclercq



Joined: 04 Oct 2007
Posts: 15

PostPosted: Wed Dec 22, 2004 12:54 pm    Post subject: Setting Font of Msgbox / Inputbox Reply with quote

Can somebody tell me of it is possible to set the Font for the Msgbox and
Inputbox in VB6. Changing the font of the form don't help.
Gérard.

Archived from group: microsoft>public>vb>enterprise
Back to top
View user's profile Send private message
Gaurav - http://www.gaura



Joined: 04 Oct 2007
Posts: 48

PostPosted: Thu Dec 23, 2004 3:47 am    Post subject: RE: Setting Font of Msgbox / Inputbox Reply with quote

try this

http://www.quantumcloud.com/forum/viewtopic.php?p=3110

--
Gaurav Creations
"Gérard Leclercq" wrote:

> Can somebody tell me of it is possible to set the Font for the Msgbox and
> Inputbox in VB6. Changing the font of the form don't help.
> Gérard.
>
>
>
Back to top
View user's profile Send private message
Gérard Leclercq



Joined: 04 Oct 2007
Posts: 15

PostPosted: Thu Dec 23, 2004 12:21 pm    Post subject: Re: Setting Font of Msgbox / Inputbox Reply with quote

Thx, thats what i want. Gérard
Back to top
View user's profile Send private message
Bob Butler



Joined: 04 Oct 2007
Posts: 2047

PostPosted: Thu Dec 23, 2004 10:56 am    Post subject: Re: Setting Font of Msgbox / Inputbox Reply with quote

"Gérard Leclercq" wrote in message$hC2.432318@phobos.telenet-ops.be
> Thx, thats what i want. Gérard

Changing the user's selections to force your app's preferences ove rthe
entire system is almost never the right way to do it.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."
Back to top
View user's profile Send private message
Bob Butler



Joined: 04 Oct 2007
Posts: 2047

PostPosted: Wed Dec 22, 2004 11:04 am    Post subject: Re: Setting Font of Msgbox / Inputbox Reply with quote

"Gérard Leclercq" wrote in message$yu7.532519@phobos.telenet-ops.be
> Can somebody tell me of it is possible to set the Font for the Msgbox
> and Inputbox in VB6. Changing the font of the form don't help.

Those are system-wide settings; if you need to customize them it's usually
much better (and easier) to just create your own form.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."
Back to top
View user's profile Send private message
Ken Halter



Joined: 04 Oct 2007
Posts: 4150

PostPosted: Wed Dec 22, 2004 12:49 pm    Post subject: Re: Setting Font of Msgbox / Inputbox Reply with quote

"Gérard Leclercq" wrote in message $yu7.532519@phobos.telenet-ops.be...
> Can somebody tell me of it is possible to set the Font for the Msgbox and
> Inputbox in VB6. Changing the font of the form don't help.
> Gérard.

Those are set with the Control Panel's Display applet. If you really need
different fonts, you'll be far better off creating your own replacements for
those functions. Here's a "bare bones" project you can start with for the
InputBox anyway....

InputBoxEX
http://www.vbsight.com/Code.htm

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Please keep all discussions in the groups..
Back to top
View user's profile Send private message
ijustok



Joined: 04 Oct 2007
Posts: 1

PostPosted: Thu Dec 23, 2004 4:17 pm    Post subject: Re: Setting Font of Msgbox / Inputbox Reply with quote

only use system define font

"Gérard Leclercq" wrote in message$yu7.532519@phobos.telenet-ops.be...
> Can somebody tell me of it is possible to set the Font for the Msgbox and
> Inputbox in VB6. Changing the font of the form don't help.
> Gérard.
>
>
Back to top
View user's profile Send private message
Ray Mercer



Joined: 04 Oct 2007
Posts: 47

PostPosted: Fri Dec 24, 2004 5:43 pm    Post subject: Re: Setting Font of Msgbox / Inputbox Reply with quote

Gerard,
Ken is correct. It is usually far better to create your own "message box"
form if you need to customize the msgBox, however you asked if it was
*possible*, so...
If you have a real need to customize the system msgBox call you can use
hooks to do it. You can see an example of this in my MsgBoxEx example here:
http://shrinkwrapvb.com/msgboxex.htm

Hope this helps and Merry Christmas!
Ray Mercer

"Ken Halter" wrote in message @TK2MSFTNGP14.phx.gbl...
> "G$BqS(Bard Leclercq" wrote in message
> $yu7.532519@phobos.telenet-ops.be...
>> Can somebody tell me of it is possible to set the Font for the Msgbox and
>> Inputbox in VB6. Changing the font of the form don't help.
>> G$BqS(Bard.
>
> Those are set with the Control Panel's Display applet. If you really need
> different fonts, you'll be far better off creating your own replacements
> for those functions.

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Msgbox Location Hello, Can I specify the Location of the Messagebox ?. I dont not want it to be displayed in the centre of the Screen. Thanx, CB

How to get font name list ?? Hello, How can use Win32 API to retrieve all the font name list in VB 6??? Eric -- If you know what you are doing, it is not called RESEARCH!

Help in setting up development environemnt Hi, I need to a web based application either in ASP.NET. I am in the process of setting up my development machine. Should I install Windows 2003 Server or Windows XP on my machine? I use that machine for my coding part. Thanks! SiuLoBow

Setting NTFS permissions Hi there everyone, I am writing an application that creates directories on an NTFS file system and then is required to set preliminary permissions on those directories. I know that there is a way of doing this with Visual Basic but the qu

Setting Print Job Description Can anyone advise how to set the description that is displayed in the Print Manger? I would like to be able to give more accurate descriptions of the prints from my apps. Thanks
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise 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


Powered by phpBB © 2001, 2005 phpBB Group