-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
增加任务栏窗口可以放在任务栏的左侧;一些细节方面的改进;版本号升级到1.67
- Loading branch information
1 parent
f32ccab
commit 6cd265f
Showing
16 changed files
with
113 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,6 +67,10 @@ BOOL CAboutDlg::OnInitDialog() | |
CRect rect; | ||
GetClientRect(rect); | ||
rect.bottom = rect.Height() * 2 / 5; //图片高度占对话框高度的2/5 | ||
if (theApp.DPI(100) >= 125) | ||
m_about_img.SetBitmap(LoadBitmap(theApp.m_hInstance, MAKEINTRESOURCE(IDB_ABOUT_BACKGROUND_HD))); | ||
else | ||
m_about_img.SetBitmap(LoadBitmap(theApp.m_hInstance, MAKEINTRESOURCE(IDB_ABOUT_BACKGROUND))); | ||
m_about_img.MoveWindow(rect); | ||
m_mail.SetURL(_T("mailto:[email protected]")); //设置超链接 | ||
//m_check_update.SetURL(_T("http://pan.baidu.com/s/1c1LkPQ4")); | ||
|
@@ -674,7 +678,11 @@ BOOL CTrafficMonitorDlg::OnInitDialog() | |
m_ntIcon.cbSize = sizeof(NOTIFYICONDATA); //该结构体变量的大小 | ||
m_ntIcon.hIcon = AfxGetApp()->LoadIcon(IDI_NOFITY_ICON); //图标,通过资源ID得到 | ||
m_ntIcon.hWnd = this->m_hWnd; //接收托盘图标通知消息的窗口句柄 | ||
TCHAR atip[128] = _T("流量监控器"); //鼠标指向图标时显示的提示 | ||
#ifdef _DEBUG | ||
TCHAR atip[128] = _T("流量监控器 (Debug)"); //鼠标指向图标时显示的提示 | ||
#else | ||
TCHAR atip[128] = _T("流量监控器"); | ||
#endif | ||
wcscpy_s(m_ntIcon.szTip, 128, atip); | ||
m_ntIcon.uCallbackMessage = MY_WM_NOTIFYICON; //应用程序定义的消息ID号 | ||
m_ntIcon.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP; //图标的属性:设置成员uCallbackMessage、hIcon、szTip有效 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
2018/01/21 7629 | ||
2018/01/20 544 | ||
2017/06/25 0 | ||
2017/06/04 10 | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters