CheckRadioButton (hwnd, IDC3_CIPHER3DES, IDC3_CIPHERBLOWF,
CheckRadioButton (hwnd, IDC3_CIPHER3DES, IDC3_CIPHERDES,
static int CALLBACK SshProc (HWND hwnd, UINT msg,			     WPARAM wParam, LPARAM lParam) {    switch (msg) {      case WM_INITDIALOG:	SetDlgItemText (hwnd, IDC3_TTEDIT, cfg.termtype);	SetDlgItemText (hwnd, IDC3_LOGEDIT, cfg.username);	CheckDlgButton (hwnd, IDC3_NOPTY, cfg.nopty);	CheckRadioButton (hwnd, IDC3_CIPHER3DES, IDC3_CIPHERBLOWF,			  cfg.cipher == CIPHER_BLOWFISH ? IDC3_CIPHERBLOWF :			  IDC3_CIPHER3DES);	break;      case WM_COMMAND:	switch (LOWORD(wParam)) {	  case IDC3_TTEDIT:	    if (HIWORD(wParam) == EN_CHANGE)	    GetDlgItemText (hwnd, IDC3_TTEDIT, cfg.termtype,			    sizeof(cfg.termtype)-1);	    break;	  case IDC3_LOGEDIT:	    if (HIWORD(wParam) == EN_CHANGE)		GetDlgItemText (hwnd, IDC3_LOGEDIT, cfg.username,				sizeof(cfg.username)-1);	    break;	  case IDC3_NOPTY:	    if (HIWORD(wParam) == BN_CLICKED ||		HIWORD(wParam) == BN_DOUBLECLICKED)		cfg.nopty = IsDlgButtonChecked (hwnd, IDC3_NOPTY);	    break;	  case IDC3_CIPHER3DES:	  case IDC3_CIPHERBLOWF:	    if (HIWORD(wParam) == BN_CLICKED ||		HIWORD(wParam) == BN_DOUBLECLICKED) {		if (IsDlgButtonChecked (hwnd, IDC3_CIPHER3DES))		    cfg.cipher = CIPHER_3DES;		else if (IsDlgButtonChecked (hwnd, IDC3_CIPHERBLOWF))		    cfg.cipher = CIPHER_BLOWFISH;	    }	    break;	}	break;    }    return GeneralPanelProc (hwnd, msg, wParam, lParam);}