I need to set the font of several controls, labels, etc. at runtime (I'm
using a custom font that has some mathematical characters in it: pi,
theta, etc.). Right now I'm just setting it directly:
aControlPointer->font = kMathFontID;
and that seems to work fine on all the current OS's. But it makes me
nervous: the docs specifically say not to directly set the fields of
structures like this. How else can I do it? (Preferably in a fashion that
won't break in the future: this is a commercial app.)
Ideally, I'd set the font of the control in constructor, but as far as I
can tell, there's no way to get my custom font into the resource file in
a way that Constructor will recognize.
Any help appreciated.
Dave Johnson
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/