Hal,

> I did it with globals.  A long time ago, and there's
> probably a better way.
> 
> void DMSPopupDialog(Angle *X, AngleDisplayType mode,
> double low, double high)
> {
>    // pop up a dialog box to select a value for
> angle X
> 
>    gDMSMeasP = X;
>    gDMSmode = mode;
>    gDMSlow = low;
>    gDMShigh = high;
>  
>    ASSERT(finite(X->degrees));
>    ASSERT((X->degrees >= low) && (X->degrees <=
> high));
> 
>    FrmPopupForm(DMSEntryForm);
> }

I thought of that but using gloals in a hack is a
no-no.  However, I guess that I can use features.  I
was just hoping to find a nice elegant way of doing
that.  I envision something like the time selection
dialog.  I'm sure that someone else has an idea on
what to do.

Mike McCollister


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

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

Reply via email to