1

I'm using this code to hide the vertical bar in a listview Hide vertical scrollbar

But I have found no way to hide both bars, horizontal and vertical.

Frank
  • 69
  • 15
  • Have you tried with WS_HSCROLL too? –  Nov 11 '19 at 09:24
  • Possible duplicate of [C# ListView Disable Horizontal Scrollbar](https://stackoverflow.com/questions/4466979/c-sharp-listview-disable-horizontal-scrollbar) –  Nov 11 '19 at 09:26
  • Why -1? It is not a duplicate, my question is different, if you read it, vertical and both is not the same thing. – Frank Nov 11 '19 at 12:08
  • Not work, i receive this error (translate with Google) A call to the PInvoke function 'Flyevo! Flyevo.Leo :: ShowScrollBar' has unbalanced the stack. This problem may occur when the managed PInvoke signature does not match the unmanaged destination signature. Verify that the calling convention and the PInvoke signature parameters match the unmanaged destination signature. – Frank Nov 11 '19 at 14:16

0 Answers0