"Detlef Riekenberg" wine.dev@web.de wrote:
#define DEFAULT_MIN_TAB_WIDTH 54 -#define TAB_DEFAULT_WIDTH 96 #define TAB_PADDING_X 6 #define EXTRA_ICON_PADDING 3 #define MAX_TABLEN 32 @@ -507,11 +506,13 @@ static void test_tab(INT nMinTabWidth) HDC hdc; HFONT hOldFont; INT i;
DWORD dpi;
hwTab = create_tabcontrol(TCS_FIXEDWIDTH, TCIF_TEXT|TCIF_IMAGE); SendMessage(hwTab, TCM_SETMINTABWIDTH, 0, nMinTabWidth);
hdc = GetDC(hwTab);
dpi = GetDeviceCaps(hdc, LOGPIXELSY);
If you are replacing 'width' shouldn't this be LOGPIXELSX?