Sorry Jeff; as you say, you'll either need to use the GW toolkit, or take
your chances, and modify the captions of the buttons by use of an event
handler after the message box has been displayed.  who knows what visual
effects this will have if you try this though (I don't know for instance if
the "no" button is sized to fit this caption, and so what would happen if
you inserted a longer string).
 
Chip
 

  _____  

From: Jeff Weiss [mailto:[email protected]] 
Sent: Friday, April 29, 2011 11:28 AM
To: [email protected]
Subject: MsgBox



Chip,

That is great.  

I never saw that 

vbMsgBoxSetForeground

anywhere.  Now another question about the MsgBox-is there any way to
customize the names of the buttons?

I would like to use the VbYesNo buttons, but change the names to Next and
Previous.

I know we can do this with the Window-Eyes toolkit messageBox, but is there
any way to do it with the MsgBox?

Thanks,

Jeff Weiss

 

 

Reply via email to