Hi,
Probably a simple one to answer but I have been going round in circles with this on and I cannot see anything on the forum to help.
I want a simple message box with Yes/No buttons, thats no problem, I just wondered if you can set the focus on the NO button?
CASE BUTTON_1
IF @NOTIFYCODE = 0
IF @IDYES = MESSAGEBOX(winbox,"Are you sure you want to delete browsing history","Please confirm",@MB_ICONQUESTION | @MB_YESNO)
'Do something here if answer is Yes
ENDIF
ENDIF
So, can I modify this and still check for a 'Yes' answer, with the 'No' button highlighted rather than the 'Yes' button.
Thanks,
Andy.
like that :
CONST mbdeffbutton2=256
messagebox (d1,"Are you sure you want to delete browsing history","Please confirm",@MB_ICONQUESTION | @MB_YESNO | mbdeffbutton2)
Thanks,
Thats perfect!
Andy.
Just wondering, if you had 3 options, would the right value be 512? and the 4th 1024? etc...
Thanks,
Bill