The TB_GETBITMAPFLAGS message retrieves the bitmap flags.
TB_GETBITMAPFLAGS wParam = 0; lParam = 0;
Returns the TBBF_LARGE value if the display can handle large bitmaps (that is, if the width of the display has at least 120 pixels per logical inch). Otherwise, the return value is zero.