mfc界面的图书管理系统(13)
时间:2025-02-22
时间:2025-02-22
m_writer="不限"; m_congshuname="不限"; UpdateData(FALSE);
return TRUE; // return TRUE unless you set the focus
//to a control }
void CChaxunDlg::OnButtonChaxun() {
// TODO: Add your control notification handler code here m_list.DeleteAllItems( ); int i=0;//标记查找到的本数 CString str;
extern booklist *head_book; // m_ListBox.ResetContent(); UpdateData(); int nRow;
for(booklist *p=head_book;p;p=p->next) {if(m_bookname==""||m_bookname=="
不
限
// EXCEPTION: OCX Property Pages should return FALSE
"||m_bookname==p->bookname)
if(m_congshuname==""||m_congshuname=="
不
限
"||m_congshuname==p->congshuname)
if(m_writer==""||m_writer=="
不
限
"||m_writer==p->writer)