WM_GETTEXTLENGTH should return zero for owner drawn status bars.
This commit is contained in:
parent
fe7fc51a92
commit
b13b2474da
|
@ -455,7 +455,7 @@ STATUSBAR_GetTextLength (STATUS_INFO *infoPtr, INT nPart)
|
|||
else
|
||||
part = &infoPtr->parts[nPart];
|
||||
|
||||
if (part->text)
|
||||
if ((~part->style & SBT_OWNERDRAW) && part->text)
|
||||
result = strlenW(part->text);
|
||||
else
|
||||
result = 0;
|
||||
|
|
Loading…
Reference in New Issue