|
| Author |
Message |
Gérard Leclercq
Joined: 04 Oct 2007 Posts: 15
|
Posted: Wed Dec 22, 2004 12:54 pm Post subject: Setting Font of Msgbox / Inputbox |
|
|
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 |
|
 |
Gaurav - http://www.gaura
Joined: 04 Oct 2007 Posts: 48
|
Posted: Thu Dec 23, 2004 3:47 am Post subject: RE: Setting Font of Msgbox / Inputbox |
|
|
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 |
|
 |
Gérard Leclercq
Joined: 04 Oct 2007 Posts: 15
|
Posted: Thu Dec 23, 2004 12:21 pm Post subject: Re: Setting Font of Msgbox / Inputbox |
|
|
| Thx, thats what i want. Gérard |
|
| Back to top |
|
 |
Bob Butler
Joined: 04 Oct 2007 Posts: 2047
|
Posted: Thu Dec 23, 2004 10:56 am Post subject: Re: Setting Font of Msgbox / Inputbox |
|
|
"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 |
|
 |
Bob Butler
Joined: 04 Oct 2007 Posts: 2047
|
Posted: Wed Dec 22, 2004 11:04 am Post subject: Re: Setting Font of Msgbox / Inputbox |
|
|
"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 |
|
 |
Ken Halter
Joined: 04 Oct 2007 Posts: 4150
|
Posted: Wed Dec 22, 2004 12:49 pm Post subject: Re: Setting Font of Msgbox / Inputbox |
|
|
"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 |
|
 |
ijustok
Joined: 04 Oct 2007 Posts: 1
|
Posted: Thu Dec 23, 2004 4:17 pm Post subject: Re: Setting Font of Msgbox / Inputbox |
|
|
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 |
|
 |
Ray Mercer
Joined: 04 Oct 2007 Posts: 47
|
Posted: Fri Dec 24, 2004 5:43 pm Post subject: Re: Setting Font of Msgbox / Inputbox |
|
|
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 |
|
 |
|