poweruseppcdlg.h

来自「Calculates power drain for wlan, BT, bac」· C头文件 代码 · 共 59 行

H
59
字号
// PowerUsePPCDlg.h : header file
//

#if !defined(AFX_POWERUSEPPCDLG_H__A154A9FB_2F82_445C_A7FF_2E31BC1D048E__INCLUDED_)
#define AFX_POWERUSEPPCDLG_H__A154A9FB_2F82_445C_A7FF_2E31BC1D048E__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

/////////////////////////////////////////////////////////////////////////////
// CPowerUsePPCDlg dialog

class CPowerUsePPCDlg : public CDialog
{
// Construction
public:
	CBrush m_brush;
CMenu m_menu;
	void AddText(CString txt);
	bool m_bWifiDLL;
	DWORD m_BattBase;
	DWORD m_dwWifi;
	DWORD m_dwBT;
	DWORD m_dwPhone;
	CPowerUsePPCDlg(CWnd* pParent = NULL);	// standard constructor
	DWORD GetBattCurrent();
// Dialog Data
	//{{AFX_DATA(CPowerUsePPCDlg)
	enum { IDD = IDD_POWERUSEPPC_DIALOG };
	CEdit	m_Edit;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPowerUsePPCDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CPowerUsePPCDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnButton1();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnMenu1(); 
	afx_msg void OnBtnexit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_POWERUSEPPCDLG_H__A154A9FB_2F82_445C_A7FF_2E31BC1D048E__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?