Files
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

64 lines
1.3 KiB
C++

#if !defined(AFX_KTMEDIUMDLG_H__DE4CAFBF_B329_4895_B083_11BF099D1BE6__INCLUDED_)
#define AFX_KTMEDIUMDLG_H__DE4CAFBF_B329_4895_B083_11BF099D1BE6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif
#include "Resource.h"
#include "EarThwormDef.h"
class KTMediumDlg : public CDialog
{
public:
KTMediumDlg(CWnd* pParent = NULL);
void SetADOServer(KTADODatabase* pADOServer);
void SetPipeParam(WPipe::PipeParam* pPipePar);
void UpdateParamDlgFromParam();
public:
//{{AFX_DATA(KTMediumDlg)
enum { IDD = IDD_MEDIUNDLG };
CListBox m_wndPressList;
CListCtrl m_wndListCtrl;
//}}AFX_DATA
//{{AFX_VIRTUAL(KTMediumDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
protected:
//{{AFX_MSG(KTMediumDlg)
virtual BOOL OnInitDialog();
afx_msg void OnClickMediumlist(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchangeListpreess();
afx_msg void OnBtcustmor();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
BOOL InitMediumFromDb();
void InitPressFromDb();
protected:
CImageList m_ImageList; //图标
WPipe::PipeParam* m_pPipePar;
KTADODatabase* m_pADOServer;
};
inline void KTMediumDlg::SetPipeParam(WPipe::PipeParam* pPipePar)
{
m_pPipePar = pPipePar;
}
//{{AFX_INSERT_LOCATION}}
#endif//