Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
clo hDlg
#10
make your first dialog, then make your second dialog, then call your second dialog as a mac from a control of the first dialog, to fix the problem with the first dialog closing do this in second dialog:

sel message
,case WM_INITDIALOG
,hid win("YOU FIRST DIALOG NAME HERE" "#32770")
,DT_Init(hDlg lParam) ;;*
,ret 1 ;;*
,case WM_DESTROY DT_DeleteData(hDlg) ;;*
,res win("YOU FIRST DIALOG NAME HERE" "#32770")
,case WM_COMMAND goto messages2

this will allow the first dialog to hide when the second dialog opens and it will unhide when second dialog closes!
hope this helps!


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)