In article <9836@palm-dev-forum>, "John Kelsey" <[EMAIL PROTECTED]> wrote:
> I have items in a table. If there are more items then rows of the table I
> use a scrollbar. When the number of items decreases so the scroll bar is no
> longer necessary, I want to remove the scrollbar from the display.
>
> CtlHideControl, CtlEraseControl do not work according to the documentation
> because scrollbars are not controls. Documentation says use FrmHideObject.
>
> FrmHideObject does nothing to frmScrollBarObj according to the OS source
> code.
>
> Is there a way to remove a scrollbar short of WinEraseRectangle? Should I
> not be trying to erase the scrollbar?
SclSetScrollBar does hide the scrollbar, if the parameters given indicate
that the whole scrollrange is visible (page size is bigger than max
range).
--
Remo <[EMAIL PROTECTED]> / / / /
----------------------------------------- -===(o<0=0=0=0=0=0=0=0>===-
Do NOT remove .nospam from email address! \ \ \ \
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html