123456789101112131415161718 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace PaintDotNet.CustomControl
- {
- public class TreeViewEnhanced : TreeView
- {
- protected override void WndProc(ref Message m)
- {
- if (m.Msg == 0x203) { m.Result = IntPtr.Zero; }
- else base.WndProc(ref m);
- }
- }
- }
|