PostMessage(hWndMain, WM_COMMAND, IDWIZBACK, 0);
DlgSequencePrev();
LRESULT CALLBACK DlgProcAdvancedSettings(HWND hDlg, UINT msg, WPARAM wParam, LONG lParam){  RECT  rDlg;  switch(msg)  {    case WM_INITDIALOG:      SetWindowText(hDlg, diAdvancedSettings.szTitle);      SetDlgItemText(hDlg, IDC_MESSAGE0,          diAdvancedSettings.szMessage0);      SetDlgItemText(hDlg, IDC_EDIT_PROXY_SERVER, diAdvancedSettings.szProxyServer);      SetDlgItemText(hDlg, IDC_EDIT_PROXY_PORT,   diAdvancedSettings.szProxyPort);      if(GetClientRect(hDlg, &rDlg))        SetWindowPos(hDlg, HWND_TOP, (dwScreenX/2)-(rDlg.right/2), (dwScreenY/2)-(rDlg.bottom/2), 0, 0, SWP_NOSIZE);      break;    case WM_COMMAND:      switch(LOWORD(wParam))      {        case IDWIZNEXT:          dwWizardState = DLG_ADVANCED_SETTINGS;          /* get the proxy server and port information */          GetDlgItemText(hDlg, IDC_EDIT_PROXY_SERVER, diAdvancedSettings.szProxyServer, MAX_BUF);          GetDlgItemText(hDlg, IDC_EDIT_PROXY_PORT,   diAdvancedSettings.szProxyPort,   MAX_BUF);          DestroyWindow(hDlg);          PostMessage(hWndMain, WM_COMMAND, IDWIZNEXT, 0);          break;        case IDWIZBACK:        case IDCANCEL:          DestroyWindow(hDlg);          PostMessage(hWndMain, WM_COMMAND, IDWIZBACK, 0);          break;        default:          break;      }      break;  }  return(0);}