08-07-2008, 03:55 AM
OK this is better
Function Four_Into_One_Dialog_TheVig
Function Dialog_0_TheVig
Function Dialog_1_TheVig
Function Dialog_2_TheVig
Function Dialog_3_TheVig
I do not know why A and B are reversed but at least this might give you another piece of the puzzle.
Function Four_Into_One_Dialog_TheVig
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
str controls = "4"
if(!ShowDialog("Four_Into_One_Dialog_TheVig" &Four_Into_One_Dialog_TheVig)) ret
;BEGIN DIALOG
;0 "" 0x90C80A44 0x100 0 0 265 163 "Dialog"
;END DIALOG
;DIALOG EDITOR: "" 0x2030001 "" "0" ""
ret
;messages
sel message
,case WM_INITDIALOG
,DT_Page 0 Dialog_0_TheVig(0 0 hDlg 3)
,DT_Page 0 Dialog_1_TheVig(0 0 hDlg 3)
,DT_Page 0 Dialog_2_TheVig(0 0 hDlg 3)
,DT_Page 0 Dialog_3_TheVig(0 0 hDlg 3)
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1Function Dialog_0_TheVig
;\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
str controls = "3"
str e4
sel message
,case 0 ;;on WM_INITDIALOG of the parent dialog
,ret ShowDialog("" &Dialog_0_TheVig &controls wParam 1 WS_CHILD 0 0 2 lParam)
,case 1 ;;on OK of the parent dialog
,hDlg=lParam
,DT_GetControls hDlg &controls
,out e4
;BEGIN DIALOG
;0 "" 0x10040644 0x0 0 0 54 19 "Dialog_0"
;3 Static 0x54000000 0x0 2 2 48 12 "A"
;END DIALOG
;DIALOG EDITOR: "" 0x2030001 "" "" ""
ret
;messages
sel message
,case WM_INITDIALOG
,mov 100 0 child("Dialog_0" "#32770" win("Dialog" "#32770") 0x1)
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
;sel wParam
,;case ...
,;...
ret 1Function Dialog_1_TheVig
;\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
str controls = "3"
str e4
sel message
,case 0 ;;on WM_INITDIALOG of the parent dialog
,ret ShowDialog("" &Dialog_0_TheVig &controls wParam 1 WS_CHILD 0 0 2 lParam)
,case 1 ;;on OK of the parent dialog
,hDlg=lParam
,DT_GetControls hDlg &controls
,out e4
;BEGIN DIALOG
;0 "" 0x10040644 0x0 0 0 60 20 "Dialog_1"
;3 Static 0x54000000 0x0 4 4 48 13 "B"
;END DIALOG
;DIALOG EDITOR: "" 0x2030001 "" "" ""
ret
;messages
sel message
,case WM_INITDIALOG
,mov 0 50 child("Dialog_1" "#32770" win("Dialog" "#32770") 0x1)
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
;sel wParam
,;case ...
,;...
ret 1Function Dialog_2_TheVig
;\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
str controls = "3"
str e4
sel message
,case 0 ;;on WM_INITDIALOG of the parent dialog
,ret ShowDialog("" &Dialog_2_TheVig &controls wParam 1 WS_CHILD 0 0 2 lParam)
,case 1 ;;on OK of the parent dialog
,hDlg=lParam
,DT_GetControls hDlg &controls
,out e4
;BEGIN DIALOG
;0 "" 0x10040644 0x0 0 0 57 26 "Dialog_2"
;3 Static 0x54000000 0x0 2 4 48 13 "C"
;END DIALOG
;DIALOG EDITOR: "" 0x2030001 "" "" ""
ret
;messages
sel message
,case WM_INITDIALOG
,mov 0 50 child("Dialog_2" "#32770" win("Dialog" "#32770") 0x1)
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
;sel wParam
,;case ...
,;...
ret 1Function Dialog_3_TheVig
;\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
str controls = "3"
str e4
sel message
,case 0 ;;on WM_INITDIALOG of the parent dialog
,ret ShowDialog("" &Dialog_3_TheVig &controls wParam 1 WS_CHILD 0 0 2 lParam)
,case 1 ;;on OK of the parent dialog
,hDlg=lParam
,DT_GetControls hDlg &controls
,out e4
;BEGIN DIALOG
;0 "" 0x10040644 0x0 0 0 55 19 "Dialog_3"
;3 Static 0x54000000 0x0 4 4 48 13 "D"
;END DIALOG
;DIALOG EDITOR: "" 0x2030001 "" "" ""
ret
;messages
sel message
,case WM_INITDIALOG
,mov 200 200 child("Dialog_3" "#32770" win("Dialog" "#32770") 0x1)
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
;sel wParam
,;case ...
,;...
ret 1I do not know why A and B are reversed but at least this might give you another piece of the puzzle.
