Re: DrawText question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Robert <noone@xxxxxxxxxxx> schrieb im Beitrag
<u3B$H2QSGHA.1608@xxxxxxxxxxxxxxxxxxxx>...
Currently I use DrawText with the following flags:
DT_CENTER Or DT_TOP Or DT_END_ELLIPSIS Or DT_NOPREFIX (that's for All-Day
appointments)
DT_LEFT Or DT_TOP Or DT_WORDBREAK Or DT_END_ELLIPSIS Or DT_NOPREFIX
(that's
for other appointments)
The effect can be seen in both.
Any hints very welcome!

With this combination it all depends on the rectangle passed in the fourth
parameter ("lpRect"); you should check this. Maybe you are passing a
Null-pointer?

--
----------------------------------------------------------------------
THORSTEN ALBERS Universität Freiburg
albers@
uni-freiburg.de
----------------------------------------------------------------------

.



Relevant Pages