Hi,
I'm trying to use the DrawText(const TDesC& aText,const TPoint& aPosition) function but I don't know how to use it. Actually I have a problem with the first parameter. How can I create a new TDesc ?? Can anyone give me an example ?
cheers
DrawText pb
graphicsxp wrote:Hi,
I'm trying to use the DrawText(const TDesC& aText,const TPoint& aPosition) function but I don't know how to use it. Actually I have a problem with the first parameter. How can I create a new TDesc ?? Can anyone give me an example ?
cheers
Hi,
You just need to create a descriptor
_LIT(KMessage,"My Message"😉;
Then use KMessage as the TDesc &....
DrawText(KMessage, aPoint);
I think...