📄 titlebardlg.h
字号:
// TitleBarDlg.h : header file
//
#if !defined(AFX_TITLEBARDLG_H__3A58CBD1_FFA4_4CA7_8E5C_B774124A9BDE__INCLUDED_)
#define AFX_TITLEBARDLG_H__3A58CBD1_FFA4_4CA7_8E5C_B774124A9BDE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BtnSt.h"
//#include "RhCount.h"
/////////////////////////////////////////////////////////////////////////////
// CTitleBarDlg dialog
//#include "HotComboBox.h"
//#include "HotEdit.h"
#include "RhCount.h"
/////////////////////////////////////////////////////////////////////////////////
class CTitleBarDlg : public CDialog
{
// Construction
private:
CButtonST m_btnZip256;
public:
GCDATA gcitems;
CS PreCS;
public:
void OnSave();
void AddItems1();
void InitCS();
void CountAllSum();
void DrawTitleBar(CDC *pDC);
CRect m_rtButtExit; //关闭按钮位置
CRect m_rtButtMax; //最大化按钮位置
CRect m_rtButtMin; //最小化按钮位置
CRect m_rtButtHelp; //帮助按钮位置
CRect m_rtIcon; //图标位置
CTitleBarDlg(CWnd* pParent = NULL); // standard constructor
CAnimateCtrl m_wndAnimate;
// Dialog Data
//{{AFX_DATA(CTitleBarDlg)
enum { IDD = IDD_TITLEBAR_DIALOG };
CButtonST m_printer;
CButtonST m_btnshowgj;
CButtonST m_btncountdemo;
CButtonST m_btnok;
CButtonST m_btnsetcs;
CButtonST m_btndeldata;
CButtonST m_btnadddata;
CButtonST m_btnhelp;
CButtonST m_btncount;
CListCtrl m_countdataList;
CListCtrl m_opedataList;
CComboBox m_zdhcombo;
CComboBox m_lhcombo;
CString PreLh;
CString PreZdh;
CString m_demo;
double m_h0;
double m_psh;
double m_ssh;
double m_th;
double m_thbh;
double m_zbuttom;
double m_zhbh;
double m_ztop;
double m_sum_psf;
double m_sum_ssf;
double m_sum_gjwight;
double m_sum_tf;
double m_sum_thb;
double m_sum_zct;
double m_sum_zhb;
CString m_wzstr;
CString m_num;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTitleBarDlg)
public:
virtual void Serialize(CArchive& ar);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CTitleBarDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnNcLButtonDown(UINT nHitTest, CPoint point);
afx_msg void OnNcMouseMove(UINT nHitTest, CPoint point);
afx_msg void OnBtnReSetcs();
afx_msg void OnButtonHelp();
afx_msg void OnBtnAdddata();
afx_msg void OnBtnDeldata();
afx_msg void OnBtnCount();
afx_msg void OnClose();
afx_msg void OnBtnCountdemo();
virtual void OnOK();
afx_msg void OnBtnShowgj();
afx_msg void OnPrinter();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TITLEBARDLG_H__3A58CBD1_FFA4_4CA7_8E5C_B774124A9BDE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -