You were right, but if you use CtlGetSliderValues function (for instance) you 
can pass NULL.

Now there is another problem. When i press the arrow of the scrollbar it 
desappears. Why is that?

case sclRepeatEvent:
                
                        switch(eventP->data.sclRepeat.scrollBarID)
                        {
                        case TableScrollBar:
                                
bar=(ScrollBarType*)GetObjectPtr(TableScrollBar);
                                SclGetScrollBar (bar,&b,&c,&c,&c);
                                frmP=FrmGetActiveForm();
                                FrmDrawForm(frmP);
                                break;
                        }
                        handled = true;
                        break;
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to