📄 pmzdlg.h
字号:
// pmzDlg.h : header file
//
#if !defined(AFX_PMZDLG_H__E38BA2BC_FAA7_43A4_ABFA_4E042F535F4F__INCLUDED_)
#define AFX_PMZDLG_H__E38BA2BC_FAA7_43A4_ABFA_4E042F535F4F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define mydb "ODBC;DSN=教务管理系统;UID=sa;PWD="
/////////////////////////////////////////////////////////////////////////////
// CPmzDlg dialog
#include "update_mimaDlg.h"
#include "MyToolTipCtrl.h"
class CPmzDlg : public CDialog
{
// Construction
public:
void DrawTitleBar(CDC *pDC);
CRect m_rtButtExit; //关闭按钮位置
CRect m_rtButtMax; //最大化按钮位置
CRect m_rtButtMin; //最小化按钮位置
CRect m_rtButtHelp; //帮助按钮位置
CRect m_rtIcon; //图标位置
BOOL m_ReSizeFlag;
int m_OldWidth;
int m_OldHeight;
CPmzDlg(CWnd* pParent = NULL); // standard constructor
CString admin_ID;
CString admin_old_mima;
CString admin_right;
update_mimaDlg updatemima;
// Dialog Data
//{{AFX_DATA(CPmzDlg)
enum { IDD = IDD_PMZ_DIALOG };
CString m_strTime;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPmzDlg)
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;
CMyToolTipCtrl m_ToolTip;
BOOL m_ShowTitle;
// Generated message map functions
//{{AFX_MSG(CPmzDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg void OnNcLButtonDown(UINT nHitTest, CPoint point);
afx_msg void OnNcMouseMove(UINT nHitTest, CPoint point);
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void Onupdatemima();
afx_msg void Onaddnewadmin();
afx_msg void Onexit();
afx_msg void Onaddyuanxixinxi();
afx_msg void Onchaxunyuanxixinxi();
afx_msg void Onaddjiaoshixinxi();
afx_msg void Onchaxunjiaoshixinxi();
afx_msg void Onaddxueshengxinxi();
afx_msg void Onfenleichaxun();
afx_msg void Onzuhechaxun();
afx_msg void Onqueryadmin_info();
afx_msg void Onaddkechengxinxi();
afx_msg void Onchaxunkechengxinxi();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnClose();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PMZDLG_H__E38BA2BC_FAA7_43A4_ABFA_4E042F535F4F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -