drawtext

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 03/07/2005 at 11:54, xxxxxxxx wrote:

User Information:
Cinema 4D Version:    
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hi,
Anyone got an idea why DrawText("MyText", 2,2) is not working.
I use it in a normal GeUserArea and all other functions like
DrawBorder(...
DrawSetPen(...
DrawLine(..
are working....?
regards,

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/07/2005 at 14:06, xxxxxxxx wrote:

Ok, it seems that the call is connecting to the windows DrawTextA.
I'm including windows.h indeed for other reasons.
How can i undef the windows function ?
regards,

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/07/2005 at 14:10, xxxxxxxx wrote:

Ok, talking to myself again.

It's just a: #undef DrawText
This solves the conflicting function calls
thanks,
Regards,