【正文】
}。 }}// The system calls this to obtain the cursor to display while the user drags// the minimized window.HCURSOR CQiangDlg::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 painting SendMessage(WM_ICONERASEBKGND, (WPARAM) (), 0)。 } else { CDialog::OnSysCommand(nID, lParam)。 0xFFF0) == IDM_ABOUTBOX) { CAboutDlg dlgAbout。*/ // TODO: Add extra initialization here return TRUE。 (CSize(64,64),CSize(50,50))。 (array,8)。i++) { array[i]=i+1001。 for(int i=0。 // Set big icon SetIcon(m_hIcon, FALSE)。 pSysMenuAppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu)。 (IDS_ABOUTBOX)。 CMenu* pSysMenu = GetSystemMenu(FALSE)。 0xFFF0) == IDM_ABOUTBOX)。 //{{AFX_DATA_MAP(CQiangDlg) // NOTE: