Hi Ben Many thanks for your reply. The Palm OS Documentation mentions that I need to use either PalmOSGlue.lib or LibPalmOSGlue.a. What is the difference between both of those files? Where can I find those files as I do not have either on my PC?
Your help is much appreciated. Kind regards Patrick "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 06:46 AM 8/13/2004, you wrote: > >How can I find-out if a form element (control, list and so on) is visible or > >not? > > > >If I write something like > > > >ControlType* pControl; > >... > >if (pControl->attr.visible) { > >... > >} > > > >The compiler complains of a "dereferencing pointer to incomplete type" error > >on the line with the if statement. > > Have you read through the Palm OS Glue library? You need > FrmGlueGetObjectUsable. > > BTW, the reason the compiler complains is because, starting with the Palm > OS 5 SDK, everything defaults to strict mode where you can't directly > access the contents of Palm OS system structures. This is because the > layout of these structures is different in the ARM-based versions of Palm > OS than it was in the 68K versions. > > > -- Ben Combee, DTS technical lead, PalmSource, Inc. > "Combee on Palm OS" weblog: http://palmos.combee.net/ > Palm OS Dev Fourm Archives: http://news.palmos.com/read/all_forums/ > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
