ui/win32/toolkit.c

changeset 917
ca3918f9c96b
parent 891
0804fc9298f6
child 918
7d3dd5aacfda
equal deleted inserted replaced
916:6fdcf1cbbec9 917:ca3918f9c96b
62 uic_toolbar_init(); 62 uic_toolbar_init();
63 uic_load_app_properties(); 63 uic_load_app_properties();
64 64
65 ui_window_init(); 65 ui_window_init();
66 66
67 INITCOMMONCONTROLSEX icex = { sizeof(icex), ICC_WIN95_CLASSES }; 67 INITCOMMONCONTROLSEX icex = {
68 sizeof(icex),
69 ICC_WIN95_CLASSES | ICC_LISTVIEW_CLASSES | ICC_TREEVIEW_CLASSES | ICC_BAR_CLASSES | ICC_TAB_CLASSES
70 };
68 InitCommonControlsEx(&icex); 71 InitCommonControlsEx(&icex);
69 72
70 SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2); 73 SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
71 74
72 NONCLIENTMETRICS ncm = { sizeof(ncm) }; 75 NONCLIENTMETRICS ncm = { sizeof(ncm) };

mercurial