Can you tell us more about how you're handling this bitmap? I mean, if it's part
of the current form (that is, you have a bitmap object in the form), you can
just call FrmGetObjectBounds to get the bounds.

-- Keith






James <[EMAIL PROTECTED]> on 11/05/2000 06:16:17 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  James <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:    (Keith Rollin/US/PALM)
Subject:  Easier way of finding width and height of an attribute



I'm trying to develop my first few palm apps and I have a question for
the almight list...

Is there an easier way to find out information about resources?
>From what I've been reading, it seems that one would have to open up
the application's resource database, the the resource ID of the
bitmap, and then accessing it's attributes.

I'm basically dragging a bitmap around the screen and want to contrain
it to the boundaries of the screen.  I need to find out the width and
height of my bitmap.

Any sample code would be great!

Thanks!





-- 
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