Improved the appearance of uiSearchEntry on Windows somewhat.

This commit is contained in:
Pietro Gagliardi 2016-06-05 21:27:44 -04:00
parent 15456c8b41
commit 812086be1b
1 changed files with 9 additions and 2 deletions

View File

@ -122,6 +122,13 @@ uiEntry *uiNewPasswordEntry(void)
uiEntry *uiNewSearchEntry(void)
{
// TODO
return finishNewEntry(0);
uiEntry *e;
HRESULT hr;
e = finishNewEntry(0);
// TODO this is from ThemeExplorer; is it documented anywhere?
// TODO SearchBoxEditComposited has no border
hr = SetWindowTheme(e->hwnd, L"SearchBoxEdit", NULL);
// TODO will hr be S_OK if themes are disabled?
return e;
}