/ Published in: C++
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
switch (Application->MessageBox(" 真的è¦é€€å‡ºå—? ", Application->Title.c_str(), MB_OKCANCEL + MB_ICONQUESTION + MB_TOPMOST)) { case IDOK: { Action = caFree; break; } case IDCANCEL: { Action = caNone; break; } } dlgInfo->ButtonCount = 2; dlgInfo->Caption = "注æ„"; dlgInfo->IconType = suiWarning; dlgInfo->Text = "è¦é€€å‡ºå—?"; if (dlgInfo->ShowModal() == mrOk) { Action = caFree; } else { Action = caNone; }