On Win 7, MessageDlg shows information icon instead of confirmation icon (question mark). Here is the code:
MessageDlg('Are you sure you want to delete this file?'+ CRLF+ FileName, mtConfirmation, [mbYes, mbNo], 0)= mrYes
What am I doing wrong?