On 7/31/02 10:32 PM, "Joe Malone" <[EMAIL PROTECTED]> wrote:

> --- Lally Singh <[EMAIL PROTECTED]> wrote:
>> 
>> Oh, and how do I see inside a FormPtr in CW 8?  It worked fine in
>> 7...
>> 
> 
> Exactly what worked fine with CW 7 but doesn't work with CW 8?  You are
> probably referring to the fact that
> DO_NOT_ALLOW_ACCESS_TO_INTERNALS_OF_STRUCTS is defined by default in CW
> 8.x projects (not sure exactly which version) but isn't defined for you
> in CW 7 projects.  Palm/Source has been saying for over a year not to
> try to access struct internals.
I'll try looking around for that definition, but this is a CW 7 project
that was imported in.  Also, I just mean in the debugger: I don't
have any code that accesses into it, but it's nice to see what the
various API calls do to the FormType.

> 
> You can "see inside a FormPtr" with:
> FrmGetWindowHandle()
> FrmGetFormId()
> FrmGetNumberOfObjects()
> FrmGlueGetActiveField()
> FrmGlueGetDefaultButtonID()
> FrmGlueGetHelpID()
> FrmGlueGetLabelFont()
> FrmGlueGetMenuBarID()
> FrmGlueGetObjectUsable()
> FrmGlueSetDefaultButtonID()
> FrmGlueSetHelpID()
> FrmGlueSetLabelFont()
> possibly more...
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
> 



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

Reply via email to