Patricia Cartwright wrote:
> I need the picture to change when a push button is
> pressed.
> --- "Donald C. Kirker" <[EMAIL PROTECTED]>
> wrote:
> 
>> Patricia Cartwright wrote:
>>> I need to have an application that will change the
>> picture on the form when a button is pressed. Thank
>> you.
>> The WinDrawBitmap API function and ctlSelectEvent
>> event will be of aid
>> in this process.
>>
>> -- 
>> For information on using the ACCESS Developer
>> Forums, or to unsubscribe, please see
>> http://www.access-company.com/developers/forums/
>>
> 
> 

You're application will need to have the button on it as well as the
original picture that you want. When the button is pressed a
ctlSelectEvent will be fired. You respond to it by getting and locking
the resource containing the new picture (using DmGetResource and
MemHandleLock) and drawing the locked resource with WinDrawBitmap and
then unlock the resource with MemHandleUnlock.

You might check here: http://kb.palmsource.com/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to