6 Years
Discussion Span
Last Post by jonsca

You're going to have to create a class that inherits from ListView and play with the underlying mechanics to get it to do what you want. Here's an example of doing it in VB (http://www.vbforums.com/archive/index.php/t-145805.html I know it's the wrong language, but that value that they cite is probably what needs to be modified). So, inherit the class and change the CreateParams property.

For example, this was a way to turn a horizontal scroll bar into a vertical one:

property System::Windows::Forms::CreateParams ^ CreateParams
	virtual System::Windows::Forms::CreateParams ^ get() override
            System::Windows::Forms::CreateParams ^ cp = ProgressBar::CreateParams;
	    cp->Style |=0x04;
	    return cp;

And then there's the freebie option, which is probably worth mentioning, if you don't need the gridlines you can shut them off. I don't know how feasible that is for your project.

Edited by jonsca: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.