swApp.SendMsgToUser2(stMessage, swMessageBoxIcon_e.swMbQuestion, swMessageBoxBtn_e.swMbYesNo)
I'm using this method to send a message to user and get a response. It show a window with 2 buttons YES and NO. "YES" is selected by default!
I want to know if can change this and let the "NO" button selected by default.
The SW send message to user does not allow for the setting of the default button. However, if you were to use the VBA MsgBox function, which is similar to the SW SendMsgToUser2, you would be able to set the default button.
Retrieving data ...