Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


MsgBox Colors, and Pictures

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,82
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> MsgBox Colors, and Pictures
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 MsgBox Colors, and Pictures - 6/1/2001 11:56:31 PM   
  subnation

 

Posts: 20
Score: 0
Joined: 5/22/2001
From: USA
Status: offline
I am wondering if there is anyway to change the background color of
a MsgBox, change the font, and style, and add my own picture, all in a
message box. Even if all those can't be done in one, how would you
do them seperately. This is very important. Please someone
respond!
 
 
Post #: 1
 
 Re: MsgBox Colors, and Pictures - 6/1/2001 11:59:32 PM   
  dougc

 

Posts: 12
Score: 0
Joined: 5/31/2001
From: USA
Status: offline
The MsbBox function is set up, as any function, to return certain
values. It is not set up to change fonts and add pictures.

You might consider building an Active X control to do the tasks you
want.
Aggregate Active X controls, sometimes called subclassed or
composite controls, might serve your purpose. These controls contain
one or more existing control, called constituent controls.

To change the font, for example, you could use the Font Dialog Box in
the Windows Common Dialog Control. The Picture Box tool allows you
to load images into a picture box.

The task of a MsgBox function that returns a statement could be done
using the property procedures of Active X Controls.

Note that all of this would be done using Visual Basic 6, not VB Script.

(in reply to subnation)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> MsgBox Colors, and Pictures Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts