The main window of my current project comprises a Grid control and a TreeView, in a Windows Explorer-like layout. I would like to provide the option of being able to resize the two controls by click-and-dragging the area between the two. Does anyone have any tips on how to do this? I tried adding a “-resizable => 1” option to the TreeView, but that would have been too easy! (It didn’t work, of course). I imagine it makes use of the MouseOver et al. events, but the documentation is a bit thin on those events. Do I have to put another control (a 1-pixel-wide button perhaps?) between the two to get at the events? As usual, an example would be worth a thousand words…

 

Thanks,

Glenn