> From: Chris Yourch [mailto:[EMAIL PROTECTED]]
> I am unable to read popup trigger resource 'tPUT'. I have tried
> calling both DmGetResource() and DmGet1Resource() but both calls fail!
> Also, the specific trigger definitely exists.
There is no such thing as a 'tPUT' resource in a Palm app. All of a form's
objects are just embedded directly inside a single big 'tFRM' resource. Use
the regular form API's to fetch pointers to them.
The confusion is probably due to the documentation. It lists types such as
'tPUT' when describing the UI objects and refers to them as separate
resources. But that only applies to Constructor: it stores your forms as a
set of separate resources inside your .rsrc file, but the resource linker
smooshes them all together to make a single 'tFRM' in the final .prc file.
It would be better if the documentation omitted these internal Constructor
details.
-slj-
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/