抛弃GdCpp*.dll/pdb历史重新建库。libhv和Sqlite的dll保留
This commit is contained in:
47
staticOnly/KsMFC/CDlgDownCnt.h
Normal file
47
staticOnly/KsMFC/CDlgDownCnt.h
Normal file
@@ -0,0 +1,47 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef _CDLG_DOWNCNT_H_
|
||||
#define _CDLG_DOWNCNT_H_
|
||||
|
||||
|
||||
#include "CDlgTemplate.h"
|
||||
// CDlgDownCnt 对话框
|
||||
|
||||
class CDlgDownCnt : public CBCGPDialog
|
||||
{
|
||||
DECLARE_DYNAMIC(CDlgDownCnt)
|
||||
|
||||
public:
|
||||
CDlgDownCnt(const std::wstring & str, int downcnt=5); // 标准构造函数
|
||||
virtual ~CDlgDownCnt();
|
||||
|
||||
// 对话框数据
|
||||
#ifdef AFX_DESIGN_TIME
|
||||
// enum { IDD = IDD_DIALOG_DOWNCNT };
|
||||
#endif
|
||||
|
||||
protected:
|
||||
std::wstring infoStr;
|
||||
int downCnt = 5;
|
||||
|
||||
// 提示信息字体
|
||||
CFont m_InfoFont;
|
||||
|
||||
// 倒计时字体
|
||||
CFont m_CountFont;
|
||||
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
public:
|
||||
afx_msg void OnTimer(UINT_PTR nIDEvent);
|
||||
virtual BOOL OnInitDialog();
|
||||
CBCGPStatic labelCount;
|
||||
CBCGPStatic labelInfo;
|
||||
CDlgTemplate dlgTemplate;
|
||||
BOOL CreateDialogTemplate();
|
||||
};
|
||||
|
||||
void runDownCntDlg(const std::wstring& str, int downcnt);
|
||||
|
||||
#endif // _CDLG_DOWNCNT_H_
|
||||
Reference in New Issue
Block a user