TaskMessageDlg

This forum designated to discuss the TsiLang Components Suite.
Post Reply
Malcolm
Posts: 109
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: 2268
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 Sitikov.

Malcolm
Posts: 109
Joined: Tue Jan 21, 2003 5:18 pm
Location: Scotland

Post by Malcolm »

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

Post Reply