add readonly text is not problem. instead of storing bitmap pointer to gadget
data make some structure with bitmap and text and change drawing function

if you want to mix it with real writable field then you are in trouble

btw if you put label and gadget to same place on screen they are drawn in order
in which they are in form - but on some devices it may happen that device draws
form content not from beginning to end but opposite way (i read it, i never
experienced it, or better say i never had issues caused by it...). so you must
place label/field and gadget to form definition in correct order to make it
work, otherwise gadget will redraw content of screen

or another hint, instead of winpaintbitmap use windrawbitmap, then you have some
limited control how it will mix with rest of screen....

in all cases, putting controls on screen in such way that they overdraw each
other is good only if you are really sure what are you doing and when you can
guarantee that result will be always as you want it - and sometimes its not so
simple

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

Reply via email to