05-25-2008, 09:40 PM
okay here is my dialog and showdialog code
see if you can get it to work
Function2
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
BEGIN DIALOG
0 "" 0x90CA0A44 0x100 0 0 149 114 "test"
3 Edit 0x54830080 0x200 40 16 102 14 ""
4 Edit 0x54830080 0x200 40 46 102 14 ""
5 Static 0x54000000 0x0 24 18 48 12 "account:"
6 Static 0x54000000 0x0 4 48 48 12 "Password:"
7 Button 0x54013003 0x1 8 68 134 21 "LOGIN"
10 Static 0x54000000 0x0 38 34 104 8 "CREATED BY: BOYONMOPED"
9 Static 0x54000000 0x0 10 98 28 10 "points:"
8 Edit 0x54030080 0x200 40 96 102 14 ""
12 Button 0x54020007 0x0 2 0 146 92 ""
END DIALOG
DIALOG EDITOR: "" 0x2020105 "" ""
ret
messages
sel message
case WM_INITDIALOG
case WM_DESTROY
case WM_COMMAND goto messages2
ret
messages2
sel wParam
case 7
mac "start_stop"
case IDOK
case IDCANCEL
Function3
see if you can get it to work
Function2
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
BEGIN DIALOG
0 "" 0x90CA0A44 0x100 0 0 149 114 "test"
3 Edit 0x54830080 0x200 40 16 102 14 ""
4 Edit 0x54830080 0x200 40 46 102 14 ""
5 Static 0x54000000 0x0 24 18 48 12 "account:"
6 Static 0x54000000 0x0 4 48 48 12 "Password:"
7 Button 0x54013003 0x1 8 68 134 21 "LOGIN"
10 Static 0x54000000 0x0 38 34 104 8 "CREATED BY: BOYONMOPED"
9 Static 0x54000000 0x0 10 98 28 10 "points:"
8 Edit 0x54030080 0x200 40 96 102 14 ""
12 Button 0x54020007 0x0 2 0 146 92 ""
END DIALOG
DIALOG EDITOR: "" 0x2020105 "" ""
ret
messages
sel message
case WM_INITDIALOG
case WM_DESTROY
case WM_COMMAND goto messages2
ret
messages2
sel wParam
case 7
mac "start_stop"
case IDOK
case IDCANCEL
Function3