I used the following code to test:
----------------------------------
 FontType myFont;

 myFont.maxWidth = 0;
----------------------------------
the code can't be compiled, the CW show some error message:

Error   : illegal use of incomplete struct/union/class 'FontTag'
Test.cpp line 95    FontType myFont;

Error   : illegal use of incomplete struct/union/class 'FontTag'
Test.cpp line 97    myFont.maxWidth = 0;


I know we can directly access FontType in OS4 or below, but In OS5, Palm Inc
suggest we shouldn't do so.

My application must directly access FontType, but the CW can't compile my
code, are there other ways to
directly access FontType?

Thanks!



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to