Skip to content

Commit

Permalink
更换图标,更新版本信息
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongyang219 committed Mar 29, 2018
1 parent cf39ec6 commit 513c841
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
Binary file modified TrafficMonitorSkinEditor/TrafficMonitorSkinEditor.rc
Binary file not shown.
10 changes: 10 additions & 0 deletions TrafficMonitorSkinEditor/TrafficMonitorSkinEditorDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class CAboutDlg : public CDialogEx
// 实现
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnNMClickSyslink1(NMHDR *pNMHDR, LRESULT *pResult);
};

CAboutDlg::CAboutDlg() : CDialogEx(CAboutDlg::IDD)
Expand All @@ -40,8 +42,16 @@ void CAboutDlg::DoDataExchange(CDataExchange* pDX)
}

BEGIN_MESSAGE_MAP(CAboutDlg, CDialogEx)
ON_NOTIFY(NM_CLICK, IDC_SYSLINK1, &CAboutDlg::OnNMClickSyslink1)
END_MESSAGE_MAP()

void CAboutDlg::OnNMClickSyslink1(NMHDR *pNMHDR, LRESULT *pResult)
{
// TODO: 在此添加控件通知处理程序代码
ShellExecute(NULL, _T("open"), L"https://github.com/zhongyang219/TrafficMonitorSkinEditor/releases", NULL, NULL, SW_SHOW);
*pResult = 0;
}


// CTrafficMonitorSkinEditorDlg 对话框

Expand Down
Binary file modified TrafficMonitorSkinEditor/res/TrafficMonitorSkinEditor.ico
Binary file not shown.
Binary file modified TrafficMonitorSkinEditor/resource.h
Binary file not shown.

0 comments on commit 513c841

Please sign in to comment.