Open GoogleCodeExporter opened 9 years ago
1. Change font Change res.rc these lines: IDD_MAINBOX DIALOG DISCARDABLE 32, 8, 256, 152 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU to: IDD_MAINBOX DIALOGEX DISCARDABLE 32, 8, 256, 152 STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU The font would be Tahoma, it better than default "Microsoft Sans Serif". 2. Make treeview looks better Insert into windialog.c after: HWND treeview = CreateWindowEx(...); SendMessage(treeview, TVM_SETEXTENDEDSTYLE, 0, TVS_EX_DOUBLEBUFFER); HMODULE hinstDLL = LoadLibrary(TEXT("uxtheme.dll")); if (hinstDLL != NULL) { HRESULT (WINAPI *pfnSWT)(HWND, LPCWSTR, LPCWSTR) = (HRESULT (WINAPI *)(HWND, LPCWSTR, LPCWSTR))GetProcAddress(hinstDLL, "SetWindowTheme"); if (pfnSWT != NULL) { (*pfnSWT)(treeview, L"explorer", NULL); } FreeLibrary(hinstDLL); } It make listview or treeview looks better on Vista or above.
Original issue reported on code.google.com by shanxijiake on 19 Nov 2013 at 5:24
shanxijiake
Answered on https://github.com/mintty/mintty/issues/410
Original comment by towom...@googlemail.com on 19 Jun 2015 at 10:39
towom...@googlemail.com
Original issue reported on code.google.com by
shanxijiake
on 19 Nov 2013 at 5:24