[misc] miscellaneous cleanup

* Also add CreateWindowExU() method
* Also add the 'DisableFileIndexing' to the ini template
This commit is contained in:
Pete Batard 2017-04-04 17:26:45 +01:00
parent da7a5bb30d
commit be1bdb7c85
6 changed files with 31 additions and 14 deletions

View file

@ -1812,7 +1812,7 @@ void InitDialog(HWND hDlg)
}
// Create the language toolbar
hLangToolbar = CreateWindowEx(0, TOOLBARCLASSNAME, NULL, WS_CHILD | WS_TABSTOP | TBSTYLE_TRANSPARENT | CCS_NOPARENTALIGN |
hLangToolbar = CreateWindowExW(0, TOOLBARCLASSNAME, NULL, WS_CHILD | WS_TABSTOP | TBSTYLE_TRANSPARENT | CCS_NOPARENTALIGN |
CCS_NORESIZE | CCS_NODIVIDER, 0, 0, 0, 0, hMainDialog, NULL, hMainInstance, NULL);
if ((pfImageList_Create != NULL) && (pfImageList_AddIcon != NULL)) {
hLangToolbarImageList = pfImageList_Create(i16, i16, ILC_COLOR32, 1, 0);