www.pudn.com > kcbusyprogress_demo.rar > BusyProgressDlg.h
// BusyProgressDlg.h : header file
//
#if !defined(AFX_BUSYPROGRESSDLG_H__A2F43A18_C77F_4E24_B6A6_0D2C6A1029C7__INCLUDED_)
#define AFX_BUSYPROGRESSDLG_H__A2F43A18_C77F_4E24_B6A6_0D2C6A1029C7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CBusyProgressDlg dialog
#include "KCBusyProgressCtrl.h"
#include "ButtonCol.h"
class CBusyProgressDlg : public CDialog
{
// Construction
public:
CBusyProgressDlg(CWnd* pParent = NULL); // standard constructor
~CBusyProgressDlg();
// Dialog Data
//{{AFX_DATA(CBusyProgressDlg)
enum { IDD = IDD_BUSYPROGRESS_DIALOG };
CButtonCol m_btnColBFaceHi;
CButtonCol m_btnColBEdgeHi;
CButtonCol m_btnColBFace;
CButtonCol m_btnColBEdge;
CButtonCol m_btnColBkg;
CKCBusyProgressCtrl m_ctlBusy;
int m_nSpeed;
int m_nIBPadding;
int m_nNumBlocks;
int m_nMode;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBusyProgressDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
//
// Methods
//
// Attributes
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CBusyProgressDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonStart();
afx_msg void OnDestroy();
afx_msg void OnChangeEditSpeed();
afx_msg void OnChangeEditIbpadding();
afx_msg void OnChangeEditNumblocks();
afx_msg void OnButtonColbkg();
afx_msg void OnButtonColblockface();
afx_msg void OnButtonColblockedge();
afx_msg void OnButtonColblockedgehi();
afx_msg void OnButtonColblockfacehi();
afx_msg void OnRadioModeBusy();
afx_msg void OnRadioModeProgress();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BUSYPROGRESSDLG_H__A2F43A18_C77F_4E24_B6A6_0D2C6A1029C7__INCLUDED_)