SearchResultsWnd.cpp
Search after "LocalEd2kSearchEnd" and edit that part.
void CSearchResultsWnd::LocalEd2kSearchEnd(UINT /*count*/, bool bMoreResultsAvailable)
{
// local server has answered, kill the timeout timer
if (m_uTimerLocalServer) {
VERIFY( KillTimer(m_uTimerLocalServer) );
m_uTimerLocalServer = 0;
}
/*if (!canceld && count > MAX_RESULTS)
CancelEd2kSearch();*/
if (!canceld) {
if (!globsearch)
SearchCanceled(m_nEd2kSearchID);
else
VERIFY( (global_search_timer = SetTimer(TimerGlobalSearch, 750, 0)) != NULL );
}
m_pwndParams->m_ctlMore.EnableWindow(bMoreResultsAvailable && m_iSentMoreReq < MAX_MORE_SEARCH_REQ);
}
Search after "AddGlobalEd2kSearchResults" and edit it.
void CSearchResultsWnd::AddGlobalEd2kSearchResults(UINT /*count*/)
{
/*if (!canceld && count > MAX_RESULTS)
CancelEd2kSearch();*/
}
0 comments:
发表评论