You are strongly encouraged NOT to access the structure members directly.
Use accessors (when provided).
>From the Programmer's Reference:
*
ControlType Struct
Purpose *The ControlType structure defines the type and characteristics of
a control. It is defined as follows:
*
Prototype *typedef struct {
UInt16 id;
RectangleType bounds;
Char * text;
ControlAttrType attr;
ControlStyleType style;
FontID font;
UInt8 group;
UInt8 reserved;
} ControlType;
*
WARNING! *PalmSource, Inc. does not support or provide
backward compatibility for the ControlType structure. Never
access its structure members directly, or your code may break in
future versions. Use the information below for debugging
purposes only.
On 2/15/07, Dmitry Grinberg <[EMAIL PROTECTED]> wrote:
>
> Mostly because in OS5 the controlType structure got rearranged
> slightly so things are not where the 68k docs say they are
> (furthermore they are in little-endian format).
>
> On 2/15/07, Borszczuk <[EMAIL PROTECTED]> wrote:
> > Pinus Alba wrote:
> >
> > > Not quite sure what you are trying to do but does
> CtlGlueGetControlStyle
> > > help?
> >
> > Yes, Glue helps. The question remains why simulator was so strict to
> force
> > me to use glue.
> >
> > Regards,
> > --
> > "Daddy, what "Formatting drive C:" means?"...
> >
> > Marcin http://wfmh.org.pl/carlos/
> >
> > --
> > For information on using the PalmSource Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
> >
>
>
> --
> Best Regards, Dmitry Grinberg
> Software Engineer, http://PalmPowerups.com
> (847) 226 9295
> AIM: DmitryGrinberg
> MSN: [EMAIL PROTECTED]
> ICQ: 165589894
> Y! IM: dmitrygr2003
>
> --
> For information on using the PalmSource Developer Forums, or to
> unsubscribe, please see http://www.palmos.com/dev/support/forums/
>
--
yisdersomenimororsisasisdenderisorsis?
Jeff Loucks
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/