| 864 |
GetHNRec = (PGetHNRec) lParam; |
GetHNRec = (PGetHNRec) lParam; |
| 865 |
SetWindowLong(dlg, DWL_USER, lParam); |
SetWindowLong(dlg, DWL_USER, lParam); |
| 866 |
|
|
| 867 |
|
// ホストヒストリのチェックボックスを追加 (2005.10.21 yutaka) |
| 868 |
|
if (pvar->ts->HistoryList > 0) { |
| 869 |
|
SendMessage(GetDlgItem(dlg, IDC_HISTORY), BM_SETCHECK, BST_CHECKED, 0); |
| 870 |
|
} else { |
| 871 |
|
SendMessage(GetDlgItem(dlg, IDC_HISTORY), BM_SETCHECK, BST_UNCHECKED, 0); |
| 872 |
|
} |
| 873 |
|
|
| 874 |
if (GetHNRec->PortType == IdFile) |
if (GetHNRec->PortType == IdFile) |
| 875 |
GetHNRec->PortType = IdTCPIP; |
GetHNRec->PortType = IdTCPIP; |
| 876 |
CheckRadioButton(dlg, IDC_HOSTTCPIP, IDC_HOSTSERIAL, |
CheckRadioButton(dlg, IDC_HOSTTCPIP, IDC_HOSTSERIAL, |
| 1032 |
pvar->settings.ssh_protocol_version = 2; |
pvar->settings.ssh_protocol_version = 2; |
| 1033 |
} |
} |
| 1034 |
} |
} |
| 1035 |
|
|
| 1036 |
|
// host history check button |
| 1037 |
|
if (SendMessage(GetDlgItem(dlg, IDC_HISTORY), BM_GETCHECK, 0, 0) == BST_CHECKED) { |
| 1038 |
|
pvar->ts->HistoryList = 1; |
| 1039 |
|
} else { |
| 1040 |
|
pvar->ts->HistoryList = 0; |
| 1041 |
|
} |
| 1042 |
|
|
| 1043 |
} else { |
} else { |
| 1044 |
GetHNRec->PortType = IdSerial; |
GetHNRec->PortType = IdSerial; |
| 1045 |
GetHNRec->HostName[0] = 0; |
GetHNRec->HostName[0] = 0; |
| 3096 |
|
|
| 3097 |
/* |
/* |
| 3098 |
* $Log: not supported by cvs2svn $ |
* $Log: not supported by cvs2svn $ |
| 3099 |
|
* Revision 1.25 2005/07/09 17:08:47 yutakakn |
| 3100 |
|
* SSH2 packet compressionをサポートした。 |
| 3101 |
|
* |
| 3102 |
* Revision 1.24 2005/07/09 05:16:06 yutakakn |
* Revision 1.24 2005/07/09 05:16:06 yutakakn |
| 3103 |
* OpenSSL 0.9.8でビルドできるようにした。 |
* OpenSSL 0.9.8でビルドできるようにした。 |
| 3104 |
* |
* |