Hi all.
I want to be able to control TTreeView.WndProc without creating a subclass to TTreeView.
The WndProc procedure is protected in the TTreeView class, and therefore I cannot assign the WndProc to a customWndProc procedure like this:
TreeView1.WndProc := MyCustomWndProc;
How do I take control over the WndProc procedure.
[tt]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do not underestimate the power of [!]Google[/!][/tt]
I want to be able to control TTreeView.WndProc without creating a subclass to TTreeView.
The WndProc procedure is protected in the TTreeView class, and therefore I cannot assign the WndProc to a customWndProc procedure like this:
TreeView1.WndProc := MyCustomWndProc;
How do I take control over the WndProc procedure.
[tt]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Do not underestimate the power of [!]Google[/!][/tt]