At 12:45 PM 5/20/2004, you wrote:
Is there any way I can check if a control is graphical under OS5?  My
Capitalizer program (handypalmstuff.sf.net) lets one (among other things)
use alt+key to tap on a text control.  Unfortunately, it can crash if there
is a graphical control on screen.  I can't figure out how to check if a
control is graphical.  The attr field of ControlType does not seem to work
under OS5 (it holds 0x8000 for enabled and 0x0000 for disabled, and does not
distinguish graphical/non-graphical controls).  Any thoughts on what to do?

CtlGlueIsGraphical should work on all devices to get this information.

(Remember, if you can't do it without checking the structure, check for a glue library first!)


-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/



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

Reply via email to