
Sử dụng List Control
91
lượt xem 10
download
lượt xem 10
download

♦ Tạo một project mới có tên UseListCtrl dạng Dialog Based ♦ Tạo một Dialog theo mẫu sau: IDC_Code IDC_Name IDC_Bithday IDC_IsMale IDC_Addr IDC_StdList Lưu ý: Trong properties của List Control, chọn Styles là Report ♦ Khai báo biến cho các control như sau: ♦ Khai báo các sự kiện BN_CLICKED cho các button IDC_IsMale, IDC_Add, IDC_Refresh, IDC_Exit ♦ Để tạo một table, chúng ta thêm hàm CreateTable() vào lớp CUseListCtrlDlg: void CUseListCtrlDlg::CreateTable() { ...
Chủ đề:
Bình luận(0) Đăng nhập để gửi bình luận!

CÓ THỂ BẠN MUỐN DOWNLOAD