Re: MLE box vertical scrollbar

new topic     » goto parent     » topic index » view thread      » older message » newer message

CChris wrote:
> 
> Andy Drummond wrote:
> > 
> > I am using Win32Lib.  I need a small multiline edit box (MLE) but I want to
> > remove the vertical scroll bar. It appears, though disabled, but I want just
> > a
> > small multi-line edit box.  Can anyone tell me which constant to use to tell
> > dear old Windows[tm] that I don't want the vertical scroll, please?
> > 
> > AndyD
> 
> Soon after creating the control, just issue
> }}}
<eucode>
> removeStyle(targetted_mle,WS_VSCROLL)
> </eucode>
{{{

> Works for any control, actually.
> Removing any horizontal scrollbar is left as an exercise...
> 
> I didn't try this, but I'd expect the cde to work even after the control was
> displayed, so that you can toggle scrollbar visibility at will.
> CChris

Thank you CChris, it did just what I wanted. Je vous remercie beaucoup.

AndyD

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu