How do I stop clipping?
Bill Medland
medbi01 at accpac.com
Thu Jul 26 14:51:07 CDT 2001
I don't like submitting incomplete code but I may have little choice unless
someone can point me in the correct direction here. As you may guess from
the following, my Windows experience is not that extensive but I think it's
enough to allow me to make sensible contributions.
I am working on correcting the LISTVIEW_DrawLargeItem function, especially
when the item text is large. I have already got most of the way. However
the problem is this.
When a user selects a large icon the text should be written completely (by
calling DrawText with DT_NOCLIP). It is doing so; I can prove it by
resizing the window and I will see the full text being displayed for a
selected item. However when drawing it at the moment of selecting it, the
text is being clipped to the usual two and a bit rows. Presumably this
means that there is a clipping rectangle in the DC or the window that I
need to inflate. Or Do I simply invalidate that rectangle (from within the
WM_PAINT handler!!!).
Any help would be appreciated.
Bill
More information about the wine-devel
mailing list