Hi!

I'm trying (PODS1.1/sdk6) to add feedbackSliderCtl control dynamically. For
the other control types I use CtlNewControl() and it's result process with
CtlShowControl() and basically it is enough to make other controls visible and
responding in simulator. For the feedback slider I use:

    SliderControlType *slider = CtlNewSliderControl (
                                   (void **)&form,
                                   id,
                                   feedbackSliderCtl,
                                   NULL,
                                   0,
                                   0,
                                   pos.x,
                                   pos.y,
                                   size.x,
                                   size.y,
                                   minValue,
                                   maxValue,
                                   1,
                                   value
                              );

    ControlType* control = (ControlType*) slider;

    CtlShowControl(control)

and slider is not visible. What can be wrong?

ABX

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

Reply via email to