I use the following code to draw multiline 'dot filled' labels:
Which seems to work to a certain point, up until the screen and font gets sized up a bit.
To get the 'dot filled' effect, I simply tack a bunch of periods on the end of the label caption, and use %DT_END_ELLIPSIS to cut it off and put '...' at the end.
This seems to be the only OS this happens on - is anyone aware of any sort of thing in Win2K that could cause this?
Picture of it working on XP:

Picture of what it looks like on 2K:

If anyone has any ideas/suggestions - any help would be much appreciated. I have no ideas...
Code:
DrawText @dis.hDC, szBuf, -1, tmprc, %DT_WORDBREAK OR %DT_END_ELLIPSIS OR %DT_LEFT OR %DT_NOPREFIX
To get the 'dot filled' effect, I simply tack a bunch of periods on the end of the label caption, and use %DT_END_ELLIPSIS to cut it off and put '...' at the end.
This seems to be the only OS this happens on - is anyone aware of any sort of thing in Win2K that could cause this?
Picture of it working on XP:

Picture of what it looks like on 2K:

If anyone has any ideas/suggestions - any help would be much appreciated. I have no ideas...
Comment