Autohide window scroll bars
Hi,
I am using WS_VSCROLL to set a vertical scroll bar on a window by using SetWindowLong() function. I have a bunch of item like textfields whose contents grow and shrink.
The problem is the window scroll bars always appear even though they are not necessary.
Is there anyway to using a style like AUTOSCROLL without doing it programmitically.
Thanks.
Re: Autohide window scroll bars
You can just add ES_AUTOSCROLL to the styles for the control in the resourcefile
Re: Autohide window scroll bars
Thanks for the reply.
But ES_AUTOVSCROLL is for one Edit control.
But , I have several controls text fields etc. on the window. The scroll bar lets the user scroll down/up and view the controls.