Computing.Net > Forums > Programming > Custom Message Boxes in VB6

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Custom Message Boxes in VB6

Reply to Message Icon

Name: BlueScreenOD
Date: February 24, 2006 at 11:51:34 Pacific
OS: Win XP Pro
CPU/Ram: 3.2 ghz p4 / 1 GB DDR
Product: Dell
Comment:

I'm intrested in creating a custom message box taht uses buttons other then the stadard "Okay" "Cancel" "Retry." Specificly I want a message box that says:

Files are waiting to be printed, what would you like to do?
[Print File] [Delete Files] [Add Files to Queue]

I'm currently using VBA6.0



Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: February 24, 2006 at 12:46:21 Pacific
Reply:

Make a new form and make it Modal. Put three buttons on it named Print File, Delete File, and Add Files to Queue. Put a label on the form with some dialogue instructing the user.

Do what is necessary in each of the Button click events then hide the form. When the code returns from whence it was called, unload it.

You have to hide the form as you cannot unload a Modal form while it is being displayed.

Stuart


0
Reply to Message Icon

Related Posts

See More


Disabling Checkboxes woth... Simple Batch



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Custom Message Boxes in VB6

Need help in VB6 www.computing.net/answers/programming/need-help-in-vb6/8843.html

Switch statement in vb6..? www.computing.net/answers/programming/switch-statement-in-vb6/9080.html

Saving problem in vb6 www.computing.net/answers/programming/saving-problem-in-vb6/10488.html