"Nabeel Mukhtar" <[EMAIL PROTECTED]> writes:

> I have an application in which I have to define image hot spots. The image
> and the associated details of hot spots will be written in an XML file on a
> PC and will be hot sync-ed into Palm. Can any one please guide me on how to
> approach this? I am using CodeWarrior for C++ and Palm SDK 3.5. The only way
> I know of creating bitmaps is through the constructor. But this will not be
> the solution for the above problem. Can you provide any example source code
> for the above.

Put a gadget on your form, put the bitmap in another resource. Draw the
bitmap inside the gadget, trap PenDownEvents in the gadget, and figure
out which hotspot got tapped. 

The implementation is a standard programming problem and beyond the
scope of this forum.

-- 
Dave Carrigan ([EMAIL PROTECTED])            | Yow! A shapely CATHOLIC
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | SCHOOLGIRL is FIDGETING inside
Seattle, WA, USA                            | my costume..
http://www.rudedog.org/                     | 

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

Reply via email to