Page 1 of 1

TaskMessageDlg

Posted: Sun Sep 28, 2008 5:17 pm
by Malcolm
Igor

In What's New you mention that, in Vista, any message box method will use TaskMessageDlg. But I think that can not make best use of TaskMessageDlg(?)

But if we use the siTaskDialog itself, it will raise an exception if not in Vista.

Should we either set a flag (IsVista) and then test it for each message, or use a try <use siTaskDialog> except <use MessageDlg> end.

Or do you have a better suggestion? :)

Malcolm

Posted: Mon Sep 29, 2008 8:05 am
by isiticov
Malcolm,

There is also TaskMessageDlg() method of TsiLang and it will use full TaskMessageDlg functionality under Windows Vista and use regular MessageDlg() under earlier OS.

Posted: Mon Sep 29, 2008 9:04 am
by Malcolm
Ah! Thanks, I will experiment with this. :)