Ich habe es ganz unten intregriert!
beim SearchDlg.cpp
beim SearchDlg.cpp
Code:
void CMuteSearchDlg::OnShowWindow(BOOL bShow, UINT nStatus)
{
CResizableDialog::OnShowWindow(bShow, nStatus);
SetStrings();
m_SearchList.SetStrings();
}
void CMuteSearchDlg::SetSearchResultsIcon(UINT uSearchID, int iImage)
{
int iTabItems = searchselect.GetItemCount();
for (int i = 0; i < iTabItems; i++)
{
TCITEM tci;
tci.mask = TCIF_PARAM;
/*
if (searchselect.GetItem(i, &tci) && tci.lParam != NULL && ((const SSearchParams*)tci.lParam)->dwSearchID == uSearchID)
{
tci.mask = TCIF_IMAGE;
tci.iImage = iImage;
searchselect.SetItem(i, &tci);
break;
}
*/
}
}
/*
SSearchParams* CMuteSearchDlg::GetSearchResultsParams(UINT uSearchID) const
{
int iTabItems = searchselect.GetItemCount();
for (int i = 0; i < iTabItems; i++)
{
TCITEM tci;
tci.mask = TCIF_PARAM;
if (searchselect.GetItem(i, &tci) && tci.lParam != NULL && ((const SSearchParams*)tci.lParam)->dwSearchID == uSearchID)
return (SSearchParams*)tci.lParam;
}
return NULL;
}
void CMuteSearchDlg::OnBnClickedClearall()
{
}
LRESULT CMuteSearchDlg::OnCloseTab(WPARAM wParam, LPARAM lParam)
{
return 0;
}
LRESULT CMuteSearchDlg::OnDblClickTab(WPARAM wParam, LPARAM lParam)
{
return 0;
}
void CMuteSearchDlg::OnTcnSelchangeTab1(NMHDR *pNMHDR, LRESULT *pResult)
{
}