TaskMessageDlg

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
Malcolm
Posts: 114
Joined: Tue Jan 21, 2003 5:18 pm
Location: Scotland

TaskMessageDlg

Post 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
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post 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.
Best regards,
Igor Siticov.
Malcolm
Posts: 114
Joined: Tue Jan 21, 2003 5:18 pm
Location: Scotland

Post by Malcolm »

Ah! Thanks, I will experiment with this. :)
Post Reply