Fixed duplicated arrows in header control.
This commit is contained in:
parent
b894605987
commit
9fa51e4172
|
@ -207,7 +207,7 @@ HEADER_DrawItem (HWND hwnd, HDC hdc, INT iItem, BOOL bHotTrack)
|
||||||
else if ((phdi->fmt & HDF_JUSTIFYMASK) == HDF_RIGHT)
|
else if ((phdi->fmt & HDF_JUSTIFYMASK) == HDF_RIGHT)
|
||||||
uTextJustify = DT_RIGHT;
|
uTextJustify = DT_RIGHT;
|
||||||
|
|
||||||
if ((phdi->fmt & HDF_BITMAP) && (phdi->hbm)) {
|
if ((phdi->fmt & HDF_BITMAP) && !(phdi->fmt & HDF_BITMAP_ON_RIGHT) && (phdi->hbm)) {
|
||||||
BITMAP bmp;
|
BITMAP bmp;
|
||||||
HDC hdcBitmap;
|
HDC hdcBitmap;
|
||||||
INT yD, yS, cx, cy, rx, ry;
|
INT yD, yS, cx, cy, rx, ry;
|
||||||
|
@ -245,7 +245,7 @@ HEADER_DrawItem (HWND hwnd, HDC hdc, INT iItem, BOOL bHotTrack)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ((phdi->fmt & HDF_BITMAP_ON_RIGHT) && (phdi->hbm)) {
|
if ((phdi->fmt & HDF_BITMAP) && (phdi->fmt & HDF_BITMAP_ON_RIGHT) && (phdi->hbm)) {
|
||||||
BITMAP bmp;
|
BITMAP bmp;
|
||||||
HDC hdcBitmap;
|
HDC hdcBitmap;
|
||||||
INT xD, yD, yS, cx, cy, rx, ry, tx;
|
INT xD, yD, yS, cx, cy, rx, ry, tx;
|
||||||
|
|
Loading…
Reference in New Issue