Point after the execute button, according to select the radio button pop-up window.
The code I wrote as follows, always error. Ask for advice.
String ls_pic, ls_cb
The int value
//icon to choose
If rb_infomation. Checked=true then
Ls_pic="Infomation!"
Elseif rb_stopsign. Checked=true then
Ls_pic="StopSign!"
Elseif rb_Exclamation. Checked=true then
Ls_pic="the Exclamation!"
Elseif rb_Question. Checked=true then
Ls_pic="Question!"
Elseif rb_None. Checked=true then
Ls_pic=""
//button to choose
Elseif rb_OK. Checked=true then
Ls_cb="OK!"
Elseif rb_OKCancel. Checked=true then
Ls_cb="OKCancel!"
Elseif rb_YesNo. Checked=true then
Ls_cb="YesNo!"
Elseif rb_YesNoCancel. Checked=true then
Ls_cb="YesNoCancel!"
Elseif rb_RetryCancel. Checked=true then
Ls_cb="RetryCancel!"
Elseif rb_AbortRetryIgnore. Checked=true then
Ls_cb="AbortRetryIgnore!"
End the if
value=https://bbs.csdn.net/topics/integer (em_value. Text)
//Messagebox (sle_title. Text, sle_text. Text)
Messagebox (sle_title. Text, sle_text. Text, ls_pic, ls_cb, value)
An error is as follows;
The Error C0052: Bad argument list for the function: messagebox
CodePudding user response:
Pb help succinctly, many problems can be solved, but only in English this drawbackThe button a
Icon b
B=question!
A=yesno!
Messagebox (', ' ', b, a)
CodePudding user response:
Upstairs isButton and icon is pb enumerated datatype
Not a string
CodePudding user response: