Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I hide ScrollBar from a List.

I tried to using EnableScrollBarCtrl(), ShowScrollBar() but it doesnt work
Posted
Comments
Richard MacCutchan 21-Feb-13 7:57am    
Please provide more information we cannot guess what your program is doing.

I think this article may help you.
Hide scrollbars from a CListCtrl
 
Share this answer
 
If it is Horizontal/vertical scroll bar, remove the WS_HSCROLL/WS_VSCROLL style from your list. You can make use of SetWindowLongPtr functions.
 
Share this answer
 
Hi,

sollution of this issue should be quite easy. Every, MFC component class has a method ShowWindow() that accepts TRUE/FALSE values or the window display-mode. The method comes from the class CWnd, from which other componens are inherited. See documentation of this method at MSDN

Calling this method should solve your problem.

Best regards,
J. K.
 
Share this answer
 
Have you tried the UpdateWindow();
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900