http://www.perlmonks.org?node_id=1017669


in reply to Win32::GUI::Richedit strange results for deselecting a selection

I suspect that Anonymous Monk’s reply is the best advice. However, if you need to persevere with Win32::GUI, the following strategy might provide an acceptable workaround:

The advantage is that the user can see the current selection, so knows when it’s necessary to press the “Cancel” button. The main disadvantage is the provision of an extra widget.

I haven’t attempted to implement this idea. Just a thought, and I hope it helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re^2: Win32::GUI::Richedit strange results for deselecting a selection
by Anonymous Monk on Feb 07, 2013 at 15:15 UTC

    the following strategy might provide an acceptable workaround

    Or patch Richedit.xs so selchange works :)