61 lines
1.7 KiB
C++
61 lines
1.7 KiB
C++
#pragma once
|
|
|
|
#include "TransferDlg.h"
|
|
#include "../ConsoleApp(DN)/Struct.h"
|
|
#include "afxcmn.h"
|
|
#include "NoticeStruct.h"
|
|
#include "SocketUtil.h"
|
|
|
|
#define WMU_NOTICE_TRANS (WM_USER+1000)
|
|
#define WMU_NOTICE_LAST_FILE_TRANS (WM_USER+2000)
|
|
|
|
// CNoticeTrans 대화 상자입니다.
|
|
|
|
class CNoticeTrans : public CDialog
|
|
{
|
|
DECLARE_DYNAMIC(CNoticeTrans)
|
|
|
|
public:
|
|
CNoticeTrans(CWnd* pParent = NULL); // 표준 생성자입니다.
|
|
CNoticeTrans(PTRANPARAM_STRUCT ptp, CString szTargetPath , CWnd* pParent = NULL);
|
|
CNoticeTrans(PTRANPARAM_STRUCT ptp, int LastFileTrans , CWnd* pParent = NULL);
|
|
virtual ~CNoticeTrans();
|
|
|
|
// 대화 상자 데이터입니다.
|
|
enum { IDD = IDD_SEND_TRANSINFO};
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 지원입니다.
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
CString m_szTargetPath;
|
|
bool m_NoticeLastFileTrans;
|
|
PTRANPARAM_STRUCT m_ptp;
|
|
|
|
void NoticeTrans(void);
|
|
void LastFileTransComplete();
|
|
void FillAdminInfo( tsvc_ddc_req_body_t*);
|
|
|
|
|
|
CSocketUtil m_sutil;
|
|
|
|
public:
|
|
// afx_msg void OnNMCustomdrawProgress1(NMHDR *pNMHDR, LRESULT *pResult);
|
|
CProgressCtrl m_NoticeProgress;
|
|
CStatic m_NoticeText;
|
|
|
|
virtual BOOL OnInitDialog();
|
|
// afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
|
|
afx_msg void OnNMCustomdrawProgress1(NMHDR *pNMHDR, LRESULT *pResult);
|
|
// afx_msg void OnActivateApp(BOOL bActive, DWORD dwThreadID);
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
afx_msg void OnSetFocus(CWnd* pOldWnd);
|
|
afx_msg LRESULT OnNoticeTrans(WPARAM, LPARAM);
|
|
afx_msg LRESULT OnNoticeLastFileTrans(WPARAM, LPARAM);
|
|
afx_msg void OnBnClickedCancel();
|
|
// afx_msg void OnStnClickedNoticeMsgbox();
|
|
void SetNoticeStep(int nStep);
|
|
|
|
};
|