Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add 1 In Dialog
#1
OK theres my code. im making a yahoo creater, but how do i make it go from like Yahoo1 to yahoo2 and yahoo3 and so on like it adds 1 each time it makes the yahoo??

Code:
Copy      Help
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
str controls = "3 4 5 6"
str e3 e4 e5 e6
if(!ShowDialog("Dialog3" &Dialog3 &controls)) ret


BEGIN DIALOG
0 "" 0x90C80A44 0x100 0 0 223 63 "Dialog"
3 Edit 0x54030080 0x200 42 8 96 14 ""
4 Edit 0x54030080 0x200 42 26 96 14 ""
5 Edit 0x54032000 0x200 174 8 32 14 ""
6 Edit 0x54032000 0x200 174 26 32 14 ""
7 Static 0x54000000 0x0 20 10 48 12 "Yahoo"
8 Static 0x54000000 0x0 10 28 48 13 "Password"
9 Static 0x54000000 0x0 144 28 48 13 "Ending #"
10 Static 0x54000000 0x0 142 10 48 12 "Starting #"
11 Button 0x54032000 0x0 92 46 48 14 "Create"
END DIALOG
DIALOG EDITOR: "" 0x2030009 "" "" ""

ret
messages
sel message
    case WM_INITDIALOG
    case WM_DESTROY
    case WM_COMMAND goto messages2
ret
messages2
sel wParam
    case 11
    case IDOK
    case IDCANCEL
ret 1
#2
look arround its been answerd.
#3
ive looked for hours haven't found it.
#4
_s.getwintext(id(? ""))

int i = val(_s)
i+1
out i


Forum Jump:


Users browsing this thread: 1 Guest(s)