> I tried adding a 19x13 gadget to my form and using the following code to
> display the signal strength indicator...
>
>           // Initialize the wireless strength indicator
>     RectangleType r;
>
>     FormPtr pForm = FrmGetFormPtr(ModalForm);
>     FrmGetObjectBounds(pForm, FrmGetObjectIndex(pForm,
> ModalFormSignalStrengthGadget), &r);
>
>     INetLibWiCmd(m_uNetRef, wiCmdInit, 0, 0);
>     INetLibWiCmd(m_uNetRef, wiCmdSetLocation, r.topLeft.x, r.topLeft.y);
>          INetLibWiCmd(m_uNetRef, wiCmdSetEnabled, 1, 0);
>
> but still no luck.  The bounds for the gadget look correct and and I have
> tried this on both the emulator and the Palm VII device.  One thing that
> may be screwing things up is that my form is modal, with topleft origin at
> 1,1 and extent of 159,159.  Is there a trick to display the signal
strength
> meter in a modal form?

I'm doing it in a modal form... I'm out of ideas -- I don't see anything odd
here.



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