www.pudn.com > Bluetooth_config_2_0_X.zip > RegPrnMainDlg.h, change:2004-02-27,size:2334b
#if !defined(AFX_REGPRNMAINDLG_H__EF548504_4856_11D7_A0DB_005004C005A3__INCLUDED_)
#define AFX_REGPRNMAINDLG_H__EF548504_4856_11D7_A0DB_005004C005A3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RegPrnMainDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// declaration of my global constants & variables
#include "zbluesoc_drv.h"
#define WM_REGPRN 0x1000
extern BT_PRN_TABLE cur_prn_table[MAX_PRINTER];
extern BT_PRN_TABLE new_prn_table[MAX_PRINTER];
extern UINT cur_prn_count;
extern UINT new_prn_count;
extern BOOLEAN printing;
extern unsigned char cur_printer_id;
extern unsigned char flash_update;
/////////////////////////////////////////////////////////////////////////////
// CRegPrnMainDlg dialog
class CRegPrnMainDlg : public CDialog
{
// Construction
public:
CRegPrnMainDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRegPrnMainDlg)
enum { IDD = IDD_REGPRN_MAIN_DIALOG };
CButton m_radio_text;
CButton m_radio_hex;
CEdit m_tx_data_text;
CEdit m_rx_data;
CEdit m_tx_data_hex;
CButton m_search;
CButton m_idprn7;
CButton m_idprn6;
CButton m_idprn5;
CButton m_idprn4;
CButton m_idprn3;
CButton m_idprn2;
CButton m_idprn1;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRegPrnMainDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CRegPrnMainDlg)
virtual BOOL OnInitDialog();
afx_msg void OnReadPrninfo();
afx_msg void OnSearch();
afx_msg void OnPrn1();
afx_msg void OnPrn2();
afx_msg void OnPrn3();
afx_msg void OnPrn4();
afx_msg void OnPrn5();
afx_msg void OnPrn6();
afx_msg void OnPrn7();
afx_msg void OnRadioHex();
afx_msg void OnRadioText();
afx_msg void OnClear();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_REGPRNMAINDLG_H__EF548504_4856_11D7_A0DB_005004C005A3__INCLUDED_)