showmodaldialog を開く HTA と、ダイアログ ページに次の JavaScript コードがあります。
function helpButton(){
document.body.style.curosor = "help";
my_div.onclick = function(){alert("Help for the div is displayed here")}
}
下の図のように、showmodaldialog のタイトル バーにヘルプ ボタンが必要です。
(写真がフランス語であることは気にしないでください。これは私のコンピューターの言語です)
そのヘルプ ボタンを押すと、helpButton()
機能が実行されます。