| 81 |
#define ORDER 2500 |
#define ORDER 2500 |
| 82 |
|
|
| 83 |
#ifdef TERATERM32 |
#ifdef TERATERM32 |
| 84 |
static HICON SecureIcon = NULL; |
static HICON SecureLargeIcon = NULL; |
| 85 |
|
static HICON SecureSmallIcon = NULL; |
| 86 |
#endif |
#endif |
| 87 |
|
|
| 88 |
static TInstVar FAR *pvar; |
static TInstVar FAR *pvar; |
| 686 |
void notify_established_secure_connection(PTInstVar pvar) |
void notify_established_secure_connection(PTInstVar pvar) |
| 687 |
{ |
{ |
| 688 |
#ifdef TERATERM32 |
#ifdef TERATERM32 |
| 689 |
if (SecureIcon == NULL) { |
if (SecureLargeIcon == NULL) { |
| 690 |
SecureIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_SECURETT)); |
SecureLargeIcon = LoadImage(hInst, MAKEINTRESOURCE(IDI_SECURETT), |
| 691 |
|
IMAGE_ICON, 0, 0, LR_DEFAULTCOLOR); |
| 692 |
|
} |
| 693 |
|
if (SecureSmallIcon == NULL) { |
| 694 |
|
SecureSmallIcon = LoadImage(hInst, MAKEINTRESOURCE(IDI_SECURETT), |
| 695 |
|
IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR); |
| 696 |
} |
} |
| 697 |
|
|
| 698 |
if (SecureIcon != NULL) { |
if (SecureLargeIcon != NULL && SecureSmallIcon != NULL) { |
| 699 |
pvar->OldSmallIcon = |
pvar->OldSmallIcon = |
| 700 |
(HICON) SendMessage(pvar->NotificationWindow, WM_GETICON, |
(HICON) SendMessage(pvar->NotificationWindow, WM_GETICON, |
| 701 |
ICON_SMALL, 0); |
ICON_SMALL, 0); |
| 703 |
(HICON) SendMessage(pvar->NotificationWindow, WM_GETICON, |
(HICON) SendMessage(pvar->NotificationWindow, WM_GETICON, |
| 704 |
ICON_BIG, 0); |
ICON_BIG, 0); |
| 705 |
PostMessage(pvar->NotificationWindow, WM_SETICON, ICON_BIG, |
PostMessage(pvar->NotificationWindow, WM_SETICON, ICON_BIG, |
| 706 |
(LPARAM) SecureIcon); |
(LPARAM) SecureLargeIcon); |
| 707 |
PostMessage(pvar->NotificationWindow, WM_SETICON, ICON_SMALL, |
PostMessage(pvar->NotificationWindow, WM_SETICON, ICON_SMALL, |
| 708 |
(LPARAM) SecureIcon); |
(LPARAM) SecureSmallIcon); |
| 709 |
} |
} |
| 710 |
#endif |
#endif |
| 711 |
|
|
| 3130 |
|
|
| 3131 |
/* |
/* |
| 3132 |
* $Log: not supported by cvs2svn $ |
* $Log: not supported by cvs2svn $ |
| 3133 |
|
* Revision 1.35 2006/08/05 03:50:59 yutakakn |
| 3134 |
|
* 改行コードをLFへ変換した。 |
| 3135 |
|
* |
| 3136 |
* Revision 1.34 2006/08/05 03:47:49 yutakakn |
* Revision 1.34 2006/08/05 03:47:49 yutakakn |
| 3137 |
* パスワードをメモリ上に覚えておくかどうかの設定は teraterm.ini に反映させるようにした。 |
* パスワードをメモリ上に覚えておくかどうかの設定は teraterm.ini に反映させるようにした。 |
| 3138 |
* |
* |