Click here to Skip to main content
15,924,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I reduce the client area of ListView by handling WM_NCCALCSIZE
message, the client area adjusted correctly. But some portion of last column is clipped.That is the column header divider of last column and the text in last column is not fully visible. This is done for placing a custom scrollbar having larger size than windows scrollbar in ListView. If it is done with other controls like TextBox and TreeView, it behaves normally. But only the ListView clips the client area.

So is there any possible work-around or solution for this issue ?
Posted
Comments
Please post the code by clicking on Improve question link.
Joeydenhaag 31-Jul-20 17:08pm    
Did you ever solve this issue? I'm having the same issue right now. If anyone has the solution I would highly appreciate it if you share. I've been stuck for a few days trying to fix this. I'm not even using a custom scrollbar, just the built-in one (WS_VSCROLL).

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