【正文】
The system calls this to obtain the cursor to display while the user drags// the minimized window.HCURSOR CMyDlg::OnQueryDragIcon(){ return (HCURSOR) m_hIcon。 // Draw the icon (x, y, m_hIcon)。 int x = (() cxIcon + 1) / 2。 GetClientRect(amp。 int cyIcon = GetSystemMetrics(SM_CYICON)。 // device context for paintingSendMessage(WM_ICONERASEBKGND, (WPARAM) (), 0)。 } else { CDialog::OnSysCommand(nID, lParam)。 0xFFF0) == IDM_ABOUTBOX) { CAboutDlg dlgAbout。return TRUE。 (3,年齡,LVCFMT_LEFT,40)。 (1,姓名,LVCFMT_LEFT,80)。 // Set big icon SetIcon(m_hIcon, FALSE)。 } } // Set the icon for this dialog. The framework does this automatically // when the application39。 if (!()) { pSysMenuAppendMenu(MF_SEPARATOR)。 if (pSysMenu != NULL) { CString strAboutMenu。 ASSERT(IDM_ABOUTBOX 0xF000)。 // Add About... menu item to system menu. // IDM_ABOUTBOX must be in the system mand range. ASSERT((IDM_ABOUTBOX amp。 DDX_Radio(pDX, IDC_RADIO_GY, m_Kind)。 DDX_Text(pDX, IDC_EDIT_ID, m_id)。 DDX_Radio(pDX, IDC_RADIO_M, m_Sex)。 DDX_Control(pDX, IDC_EDIT_AGE, m_AGE)。 //{{AFX_DATA_MAP(CMyDlg) DDX_Control(pDX, IDC_EDIT_NAME, m_NAME)。 //}}AFX_DATA_INIT // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 m_hIcon = AfxGetApp()LoadIcon(IDR_MAINFRAME)。 m_Show = _T()。 m_id = _T()。 //{{AFX_DATA_MAP(CAboutDlg) //}}AFX_DATA_MAP}BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) //{{AFX_MSG_MAP(CAboutDlg) // No message handlers //}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CMyDlg dialogCMyDlg::CMyDlg(CWnd* pParent /*=NULL*/) : CDialog(CMyDlg::IDD, pParent){ //{{AFX_DATA_INIT(CMyDlg) m_Sex = 1。 // DDX/DDV support //}}AFX_VIRTUAL// Implementationprotected://{{AFX_MSG(CAboutDlg)//}}AFX_MSG DECLARE_MESSAGE_MAP()}。// Dialog Data//{{AFX_DATA(CAboutDlg)enum { IDD = IDD_ABOUTBOX }。計算機職工信息管理系統(tǒng)能提供以下功能 ① 添加職工信息并保存 ② 查詢職工信息 ③ 瀏覽所有職工信息 ④ 刪除職工信息 ⑤將所有職工信息按照工號排序3 職工信息管理系統(tǒng)程序源代碼// : implementation file//include include include includeincludeifdef _DEBUGdefine new DEBUG_NEWundef THIS_FILEstatic char THIS_FILE[] = __FILE__。使用計算機對職工信息進行管理具有:檢索迅速、查找方便、可靠性高、儲存量大、保密性高、壽命長、成本低等特點。當(dāng)今社會,傳統(tǒng)的方式已經(jīng)不能滿足公司的需求。時間一長,將產(chǎn)生大量的文件和數(shù)據(jù)。程序分為多個小模塊,通過調(diào)用實現(xiàn)各種功能,增強了程序的可建設(shè)性。職工信息系統(tǒng)的功能模塊有:(1)提供菜單界面,方便用戶對程序功能進行選擇。這些新特性可以更好地利用Visual C++開發(fā)工具進行Windows應(yīng)用程序開發(fā)。(7)可以在對話框中使用WizardBar將程序同可視化元素聯(lián)系起來。(5)一個新的便捷的項目系統(tǒng)可以允許一個工作區(qū)內(nèi)包含多個不同的項目類型。(3)可以直接運行和調(diào)試程序,還可以使用宏語言來自動操作調(diào)試器。Visual C++:(1)自動化和宏功能。