Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Visual Basic (http://www.programmingforums.org/forum18.html)
-   -   Manipulate VB MsgBox buttons (http://www.programmingforums.org/showthread.php?t=1855)

dereko04011 Jan 14th, 2005 8:38 PM

Manipulate VB MsgBox buttons
 
How can I "manipulate" the MsgBox buttons in VB or VBS? I think it's possible, I may have done it before. I have done searches on Google and have found nothing yet.

Heres what I mean:
What I want to do is something like (this is an example: )
:

MsgBox "Hello!", Hi, "Hello"
So for the Button to click normally say "Ok", "Yes", "No", "Cancel, "Ignore" or "Retry", it should say "Hi".

Hope I explained enough (I have Windows XP Home SP2 Edition, so my VBS version is Up-to-date!)



Thanks,
Derek

Ooble Jan 15th, 2005 8:24 AM

I don't believe you can do it with the standard Windows message boxes - the value telling them which buttons to show is an integer. Fortunately, it's not hard to make your own in VB.


All times are GMT -5. The time now is 7:33 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC