mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
68ba7313c3
* I honestly don't know why this fixes it really. I finally got a reliable repro which involved somehow scrollbars becoming visible and creating their window handles in a weird circumstance while dragging the window off fullscreen, and that causing the window handle create to fail.
This control is almost entirely taken from http://www.codeproject.com/Articles/23746/TreeView-with-Columns by jkristia. Minor changes have been made to clean up, rename or reorganise - as well as a few fixes to the non-visual styles rendering path and some additional changes for my use of the control (like having the tree controls in a column other than the first, which mostly 'Just Worked' (tm) ). So all credit goes to the above author!