OSDN Git Service

Add Help button handle and add Anchor at format patch for refbrowse button
authorFrank Li <lznuaa@gmail.com>
Fri, 19 Jun 2009 06:45:15 +0000 (14:45 +0800)
committerFrank Li <lznuaa@gmail.com>
Fri, 19 Jun 2009 06:45:15 +0000 (14:45 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/Resources/TortoiseProcENG.rc
src/TortoiseProc/FormatPatchDlg.cpp
src/Utils/MiscUI/StandAloneDlg.cpp

index 5d5ba3e..7df8a5f 100644 (file)
Binary files a/src/Resources/TortoiseProcENG.rc and b/src/Resources/TortoiseProcENG.rc differ
index 856ca80..1d5baa5 100644 (file)
@@ -78,6 +78,7 @@ BOOL CFormatPatchDlg::OnInitDialog()
        AddAnchor(IDOK,BOTTOM_RIGHT);\r
        AddAnchor(IDCANCEL,BOTTOM_RIGHT);\r
        AddAnchor(IDHELP, BOTTOM_RIGHT);\r
        AddAnchor(IDOK,BOTTOM_RIGHT);\r
        AddAnchor(IDCANCEL,BOTTOM_RIGHT);\r
        AddAnchor(IDHELP, BOTTOM_RIGHT);\r
+       AddAnchor(IDC_BUTTON_REF,TOP_RIGHT);\r
 \r
        this->AddOthersToAnchor();\r
 \r
 \r
        this->AddOthersToAnchor();\r
 \r
index 3e09865..bbd67d9 100644 (file)
@@ -33,6 +33,7 @@ BEGIN_MESSAGE_MAP(CResizableStandAloneDialog, CStandAloneDialogTmpl<CResizableDi
        ON_WM_MOVING()\r
        ON_WM_NCMBUTTONUP()\r
        ON_WM_NCRBUTTONUP()\r
        ON_WM_MOVING()\r
        ON_WM_NCMBUTTONUP()\r
        ON_WM_NCRBUTTONUP()\r
+       ON_BN_CLICKED(IDHELP, OnHelp)\r
 END_MESSAGE_MAP()\r
 \r
 void CResizableStandAloneDialog::OnSizing(UINT fwSide, LPRECT pRect)\r
 END_MESSAGE_MAP()\r
 \r
 void CResizableStandAloneDialog::OnSizing(UINT fwSide, LPRECT pRect)\r