Trying to get a thicker vertical scrollbar on the datagrid
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I am creating my own datagrid control, as I needed the vertical scrollbar to be thicker than standard (because this dg is targeting touch screen users). Anyway, I am overriding WndProc, seen in the code below: protected override void WndProc(ref Message m) { try { if (m.LParam == this.VertScrollBar.Handle) { object result = m.GetLParam(); } } catch (Exception ex) { string test = ex.ToString(); } base.WndProc (ref m); } My problem is that GetLParam takes a System.Type cls parameter, and I have no idea what I should be putting in there. Please let me know how to fix this if you know what should go there. Thanks in advance.