WM_GETTEXTLENGTH should return zero for owner drawn status bars.

This commit is contained in:
Ulrich Czekalla 2005-01-06 19:44:24 +00:00 committed by Alexandre Julliard
parent fe7fc51a92
commit b13b2474da
1 changed files with 1 additions and 1 deletions

View File

@ -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;