fix: 文件管理对话框SetPaneText崩溃,传输故障

This commit is contained in:
yuanyuanxiang
2021-03-14 19:54:52 +08:00
parent 0a6641baec
commit 2c870f1952
6 changed files with 36 additions and 7 deletions

View File

@@ -6,6 +6,8 @@
#endif // _MSC_VER > 1000
#include "gh0st2Remote.h"
#define WM_MY_MESSAGE (WM_USER+300)
// FileManagerDlg.h : header file
//
@@ -15,6 +17,16 @@ typedef CList<CString, CString&> strList;
class CFileManagerDlg : public CDialog
{
protected:
// <20><><EFBFBD><EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD>Ϣ
afx_msg LRESULT OnMyMessage(WPARAM wParam, LPARAM lParam)
{
char *buff = (char*)lParam;
m_wndStatusBar.SetPaneText(0, buff);
delete[]buff;
return S_OK;
}
// Construction
public:
bool m_bIsStop;