On October 19, 2004 09:39 am, William Poetra Yoga H wrote:
In the MSDN,
In what MSDN? I presume you mean the msdn.microsoft.com site as at a certain date.
it is stated that if nCount is 1,
Not in the MSDN CDs of January 2002; it is -1 there.
then it is assumed that lpString is a null-terminated string. But in the DrawTextExA function, it is -1, as in the code:
if (count == -1) count = strlen(str);
Shouldn't this be 1 instead of -1? CMIIW. (But theForger's tutorial also uses -1)
I guess you found a typo in MSDN
Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com