it´s an normal .gif image.

i wont draw directly to the screen, i wan´t to load a gif image and display 
it on a image button.

i will try with a cast.

thanx


"Michal Seliga" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 
news:[EMAIL PROTECTED]
> in which format do you have picture on sdcard
> if it is native palm bitmapthe just load it to memory and cast pointer to 
> needed
> type
>
> in other case you must create new bitmap, fill it with image data yourself 
> and
> use it. or if you want you can draw image directly to screen
>
>
> Arne Gemsa wrote:
>> Hi,
>>
>> thanx but how can I get the BitmapPtr from an image file?
>>
>> Regards
>> Arne
>>
>>
>> "Michal Seliga" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
>> news:[EMAIL PROTECTED]
>>> i made this with empty button without any label and on frmupdatevent you
>>> redraw
>>> form and then draw bitmap using WinDrawBitmap on rectangle read from
>>> button.
>>>
>>> this worked for me
>>>
>>> Arne Gemsa wrote:
>>>> Hi,
>>>>
>>>> I want to load an picture from the SD-Card and display it on a
>>>> imagebutton
>>>> but I found no way to do so.
>>>> Does anybody know how to load pictures dynamically as resID´s or 
>>>> another
>>>> way
>>>> to display them on an imagebuttton like the Application "Media" works?
>>>>
>>>> Regards
>>>> Arne Gemsa
>>>>
>>>>
>>>>
>>
>>
>>
> 



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

Reply via email to