「FrmCustomAlert」の編集履歴(バックアップ)一覧はこちら
「FrmCustomAlert」(2005/11/23 (水) 21:25:43) の最新版変更点
追加された行は緑色になります。
削除された行は赤色になります。
アラートを表示する。
表示するメッセージを変えることができる。
**プロトタイプ
>UInt16 FrmCustomAlert (UInt16 alertId,const Char *s1,const Char *s2,const Char *s3)
**例
>UInt16 buttonValue;
>
>buttonValue = FrmCustomAlert (1000,"ボタンを押して下さい。","","");
>switch(buttonValue) {
> case 0:
> FrmCustomAlert (1000,"最初のボタン","","");
> break;
> case 1:
> FrmCustomAlert (1000,"2番目のボタン","","");
> break;
> case 2:
> FrmCustomAlert (1000,"最後のボタン","","");
> break;
>}
**補足
戻り値は、ユーザが押したボタンの番号(0から始まる)になる。
表示オプション
横に並べて表示:
変化行の前後のみ表示: