You could try calling a FrmShowObject with the gadget's index set as
objIndex. Both FrmShowObject and FrmDrawForm pass a formGadgetDrawCmd to the
gadget.

Regards,
Donald Kirker

"dan mason" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I hope the title says it all.  I am able to display the Treo gadgets
for signal strength and battery life on my form (as detailed in other
posts in this forum), and draw my form.  However, no matter how many
times I call HsStatusGadgetsUpdate(), I can't get them to update their
status unless I call FrmUpdateForm().  I am doing all my own drawing
and don't want to call FrmUpdateForm.

I have noticed that if I show and then hide my menubar, the gadgets
redraw (the gadgets are at the upper right in the menubar space), so
they must be sensitive to window dirtying or something like that.  I'm
just not sure how to fool them into believing that the portion of the
screen where they live is constantly or even intermittently dirty.
Does anybody know how I could make this happen?  I am calling
HsStatusGadgetsUpdate() on regular intervals, so that isn't the issue.
 Thanks --

-d



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

Reply via email to