Đang chuẩn bị liên kết để tải về tài liệu:
Microsoft visual C_8

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Tham khảo tài liệu 'microsoft visual c_8', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | The Calc Application case CS_EDIT Cell pCell m_cellMatrix.Get m_rfEdit CString stInput pCell- GetInputText if m_iInputIndex stInput.GetLength stInput.Delete m_iInputIndex pCell- SetInputText stInput pCell- GenerateCaretArray pDC RepaintEditArea SetModifiedFlag break If the application is in the mark state we just call OnDelete to remove the marked cells. case CS_MARK OnDelete break The copy menu item toolbar button and accelerator are enabled when the application is in the mark state and disabled in the edit state. void CCalcDoc OnUpdateCopy CCmdUI pCmdUI pCmdUI- Enable m_eCalcStatus CS_MARK The method OnCopy is called when the user chooses the Copy menu item or Copy button on the toolbar. It copies the marked block into the copy cell matrix. void CCalcDoc OnCopy m_rfMinCopy.SetRow min m_rfFirstMark.GetRow m_rfLastMark.GetRow m_rfMinCopy.SetCol min m_rfFirstMark.GetCol m_rfLastMark.GetCol m_rfMaxCopy.SetRow max m_rfFirstMark.GetRow m_rfLastMark.GetRow m_rfMaxCopy.SetCol max m_rfFirstMark.GetCol m_rfLastMark.GetCol 304 Chapter 8 for int iRow m_rfMinCopy.GetRow iRow m_rfMaxCopy.GetRow iRow for int iCol m_rfMinCopy.GetCol iCol m_rfMaxCopy.GetCol iCol m_copyMatrix.Get iRow iCol m_cellMatrix.Get iRow iCol The Cut menu item toolbar button and accelerator are enabled when the application is in the mark state similar to OnUpdateCopy above. OnCut simply calls OnCopy and OnDelete. void CCalcDoc OnUpdateCut CCmdUI pCmdUI pCmdUI- Enable m_eCalcStatus CS_MARK void CCalcDoc OnCut OnCopy OnDelete The Paste menu item toolbar button and accelerator are disabled when the application is in the edit state. In the mark state it is enabled if there is a block of cells copied m_rfMinCopy.GetRow -1 and if exactly one cell is marked or if a block of the same size as the copied block is marked. void CCalcDoc OnUpdatePaste CCmdUI pCmdUI switch m_eCalcStatus case CS_EDIT pCmdUI- Enable FALSE break case CS_MARK if m_rfMinCopy.GetRow -1 int iCopiedRows abs m_rfMaxCopy.GetRow - .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.