• Andy Vawer's avatar
    Abandon set caret position if the window or menu isn't there · 0148e0ea
    Andy Vawer authored
    During destruction of the menu tree, if set caret position fails when resetting the caret to the old position (ie. illegal window handle as the window has been deleted) then destroying the menu tree also fails with catastrophic results.
    Therefore
    * Do not fault SetCaretPosition to invalid window handle, just change it to -1
    * Do not try to redraw areas of an invalid window when moving caret
    
    Version 5.82. Not tagged
    0148e0ea
VersionNum 673 Bytes