[問題] MessageBox
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
VC++
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
no
問題(Question):
如何讓設定MessageBox的按鍵有特殊功能
餵入的資料(Input):
預期的正確結果(Expected Output):
出現了包含確定跟取消按鍵的MessageBox
錯誤結果(Wrong Output):
不知道要怎麼設定他按鍵的功能
確定就是關閉程式(END)
取消就是不做動作
程式碼(Code):(請善用置底文網頁, 記得排版)
MessageBox::Show("即將關閉監測","警告",MessageBoxButtons::OKCancel
,MessageBoxIcon::Warning);
補充說明(Supplement):
才剛開始嘗試寫沒寫過甚麼程式
有甚麼錯誤請不要鞭太大力囧
已經爬過MessageBox沒看到
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 36.231.162.132
推
10/23 09:55, , 1F
10/23 09:55, 1F
→
10/23 09:55, , 2F
10/23 09:55, 2F
→
10/23 12:29, , 3F
10/23 12:29, 3F
→
10/23 13:03, , 4F
10/23 13:03, 4F
→
10/23 20:04, , 5F
10/23 20:04, 5F
→
10/23 20:05, , 6F
10/23 20:05, 6F
→
10/23 20:06, , 7F
10/23 20:06, 7F
→
10/24 15:44, , 8F
10/24 15:44, 8F
→
10/24 16:31, , 9F
10/24 16:31, 9F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章