Results 1 to 8 of 8

Thread: Is it possible to subclass the MsgBox?

Threaded View

  1. #1

    Thread Starter
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Arrow Is it possible to subclass the MsgBox?

    I need the msgbox just with captions of buttons changed.
    I want to avoid creating a new form as it would need a lot of efforts to make it behave it like msgbox.

    e.g.
    VB Code:
    1. resp = MsgBox("What do you want to Print?", vbYesNoCancel + vbQuestion, "Choose an option")
    But instead of the Yes, No , Cancel buttons, I want Print Current, Print All, Cancel Printing

    Pradeep
    Last edited by Pradeep1210; Oct 11th, 2005 at 10:17 AM.
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width