ABX <[EMAIL PROTECTED]>:
>    SliderControlType *slider = CtlNewSliderControl (
>    ....
>    ControlType* control = (ControlType*) slider;
>    CtlShowControl(control)
>
> and slider is not visible. What can be wrong?

Looks like I was mistaken by the comment in the include\Core\UI\Control.h:

  // SliderControlType *'s can be cast to ControlType *'s and passed to all
  // Control API functions (as long as the control style is a slider)

because the same idea made with FrmShowObject() is working fine.

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