General information
Category:
Visual FoxPro Beta
Hi Paul
I'm glad this works for you.
FWIW, if you want to optimize the code (reduce in size, increase in speed), you can avoid creating quite so many objects (GpColor, GpRectangle) - for colours just use the ARGB numeric value directly (eg black is 0xFF000000) and for the rectangle look at GpGraphics::MakeGdipRectF(). I can't remember offhand if you'd need a Rect or a RectF - check the source. Also, you don't need to convert out of Unicode - stay in Unicode and use DrawStringW() instead.
Both things I only briefly mentioned in FoxTalk .. only so much room in one magazine.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only