I wrote a patch to implement using the win32 messagebox for the lazarus 
showmessage and messagedlg function. 
http://www.freepascal.org/mantis/view.php?id=1062

I am not completely satified with the result though. Given the following 
program:
  ShowMessage('Test');
  MessageDlg('Caption','A message', mtWarning, mbOKCancel + [mbHelp] ,0);
  MessageDlg('Caption','A message', mtWarning, mbOKCancel + [mbNo] ,0);
  MessageDlg('Caption','A message', mtWarning, mbAbortRetryIgnore ,0);
  MessageDlg('Caption','A message', mtWarning, mbOKCancel + [mbNoToAll] ,0);

line 1, 2,4 use native message dialog, line 3 and 5 uses the LCL message 
dialog, because win32 doesn't have that combination of buttons.

For some dialogs we still will be using the LCL fallback, so it won't look 
consistent. What is your opinion? Should I apply this patch?

Vincent

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to