Re: MLE box vertical scrollbar
- Posted by CChris <christian.cuvier at agricultur?.gouv.fr> Nov 22, 2007
- 546 views
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
removeStyle(targetted_mle,WS_VSCROLL)
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