mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Pageant and PuTTYgen About boxes: add the website button.
While I'm looking at these two dialog boxes, I notice there's another prominent difference between PuTTY's one and these: I also never got round to adding the button to go to PuTTY's main website. Now added.
This commit is contained in:
parent
aa68c2872c
commit
9ce982622f
@ -43,6 +43,7 @@ FONT 8, "MS Shell Dlg"
|
|||||||
BEGIN
|
BEGIN
|
||||||
DEFPUSHBUTTON "&Close", IDOK, 216, 88, 48, 14
|
DEFPUSHBUTTON "&Close", IDOK, 216, 88, 48, 14
|
||||||
PUSHBUTTON "View &Licence", 101, 6, 88, 70, 14
|
PUSHBUTTON "View &Licence", 101, 6, 88, 70, 14
|
||||||
|
PUSHBUTTON "Visit &Web Site", 102, 140, 88, 70, 14
|
||||||
EDITTEXT 1000, 10, 6, 250, 80, ES_READONLY | ES_MULTILINE | ES_CENTER, WS_EX_STATICEDGE
|
EDITTEXT 1000, 10, 6, 250, 80, ES_READONLY | ES_MULTILINE | ES_CENTER, WS_EX_STATICEDGE
|
||||||
END
|
END
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ FONT 8, "MS Shell Dlg"
|
|||||||
BEGIN
|
BEGIN
|
||||||
DEFPUSHBUTTON "&Close", IDOK, 216, 88, 48, 14
|
DEFPUSHBUTTON "&Close", IDOK, 216, 88, 48, 14
|
||||||
PUSHBUTTON "View &Licence", 101, 6, 88, 70, 14
|
PUSHBUTTON "View &Licence", 101, 6, 88, 70, 14
|
||||||
|
PUSHBUTTON "Visit &Web Site", 102, 140, 88, 70, 14
|
||||||
EDITTEXT 1000, 10, 6, 250, 80, ES_READONLY | ES_MULTILINE | ES_CENTER, WS_EX_STATICEDGE
|
EDITTEXT 1000, 10, 6, 250, 80, ES_READONLY | ES_MULTILINE | ES_CENTER, WS_EX_STATICEDGE
|
||||||
END
|
END
|
||||||
|
|
||||||
|
@ -319,6 +319,12 @@ static INT_PTR CALLBACK AboutProc(HWND hwnd, UINT msg,
|
|||||||
EnableWindow(hwnd, 1);
|
EnableWindow(hwnd, 1);
|
||||||
SetActiveWindow(hwnd);
|
SetActiveWindow(hwnd);
|
||||||
return 0;
|
return 0;
|
||||||
|
case 102:
|
||||||
|
/* Load web browser */
|
||||||
|
ShellExecute(hwnd, "open",
|
||||||
|
"http://www.chiark.greenend.org.uk/~sgtatham/putty/",
|
||||||
|
0, 0, SW_SHOWDEFAULT);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
|
@ -175,6 +175,12 @@ static INT_PTR CALLBACK AboutProc(HWND hwnd, UINT msg,
|
|||||||
EnableWindow(hwnd, 1);
|
EnableWindow(hwnd, 1);
|
||||||
SetActiveWindow(hwnd);
|
SetActiveWindow(hwnd);
|
||||||
return 0;
|
return 0;
|
||||||
|
case 102:
|
||||||
|
/* Load web browser */
|
||||||
|
ShellExecute(hwnd, "open",
|
||||||
|
"http://www.chiark.greenend.org.uk/~sgtatham/putty/",
|
||||||
|
0, 0, SW_SHOWDEFAULT);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user