📄 adddlg.h
字号:
#if !defined(AFX_ADDDLG_H__781F80E7_E86D_4821_876E_29B1C9EF8127__INCLUDED_)
#define AFX_ADDDLG_H__781F80E7_E86D_4821_876E_29B1C9EF8127__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ADDdlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CADDdlg dialog
class CADDdlg : public CDialog
{
// Construction
public:
void DrawUserPhoto(int x, int y, CDC *pDC);
BOOL LoadBMPFile(const char *pBMPPathname);
int flagselect;
HBITMAP BufferToHBITMAP();
HICON m_hIcon;
DWORD m_nFileLen;
char * m_pBMPBuffer;
HBITMAP m_hPhotoBitmap;
CADDdlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CADDdlg)
enum { IDD = IDD_DIALOG2_ADD };
CString m_username;
CString m_userdepart;
CString m_userID;
CString m_userCardID;
CString m_usertelenumber;
int m_usersex;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CADDdlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CADDdlg)
afx_msg void Onselectphoto();
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ADDDLG_H__781F80E7_E86D_4821_876E_29B1C9EF8127__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -