mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:02:56 +00:00
[RAPPS] Show the user that there are no search results
CORE-17944
This commit is contained in:
parent
d59f5ae2a5
commit
acc25ce914
30 changed files with 84 additions and 1 deletions
|
@ -706,6 +706,14 @@ VOID CMainWindow::UpdateApplicationsList(INT EnumType)
|
|||
m_ApplicationView->SetRedraw(TRUE);
|
||||
m_ApplicationView->RedrawWindow(0, 0, RDW_INVALIDATE | RDW_ALLCHILDREN); // force the child window to repaint
|
||||
UpdateStatusBarText();
|
||||
|
||||
CStringW text;
|
||||
if (m_ApplicationView->GetItemCount() == 0 && !szSearchPattern.IsEmpty())
|
||||
{
|
||||
text.LoadString(IDS_NO_SEARCH_RESULTS);
|
||||
}
|
||||
m_ApplicationView->SetWatermark(text);
|
||||
|
||||
bUpdating = FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue