Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help me please i dont know how to arrange this....
#4
Function Macro3
Code:
Copy      Help
;
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 112 96 "NEALBOT"
;3 Button 0x54032000 0x0 6 74 48 14 "ON"
;4 Button 0x54032000 0x0 58 74 48 14 "OFF"
;5 ListBox 0x54230101 0x200 8 10 96 48 ""
;END DIALOG
;DIALOG EDITOR: "" 0x2040400 "*" "" "" ""

str controls = "5"
str lb5
if(!ShowDialog(dd &sub.DlgProc &controls)) ret


#sub DlgProc
function# hDlg message wParam lParam

sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case 3
,mac- "NealBot Ver.2"
,case 4
,EndThread "NealBot Ver.2"
sel wParam
,case IDOK
,case IDCANCEL
ret 1
what can i do so the dialog didn't close??
i cant turn the macro off


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)