Change button caption in msgbox

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • myounas
    New Member
    • Jul 2007
    • 1

    Change button caption in msgbox

    How can we change caption of a button in vb msgbox? It is very urgent
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    In a message box u can change the caption of the buttons only to predefined combinations.
    Adding other buttons is also not supported.

    Comment

    • Killer42
      Recognized Expert Expert
      • Oct 2006
      • 8429

      #3
      Originally posted by debasisdas
      In a message box u can change the caption of the buttons only to predefined combinations.
      Adding other buttons is also not supported.
      Yes, the MsgBox function is a very simple interface to a bunch of standard Windows dialogues. To customise them any more, I believe you would need to create your own. It's not that hard to do - after all, it's just a window with some text and buttons, displayed modally.

      Comment

      Working...