How can I make 'Cancel' the default on a Visual Basic msgbox?
I'm using Visual Basic 6, and I have an 'OK/Cancel' msgbox that asks the user whether they want to overwrite a file. Obviously, it'd be nice if this popped up with 'Cancel' selected automatically rather than 'OK' - currently, just pressing Enter when it pops up hits 'OK' and destroys the file! Is there any way I can do this within the msgbox code, or am I going to have to build a form to replace the msgbox?
|