Thanks again for responses.
I'd like to describe a related issue which I am hitting a brick wall on at the moment:
The canvas I am constructing is a 'draw area', which may contain any number of vector objects, some of which may be editable text shapes, and some of which may be other vector shapes (eg. square, circle, etc).
I need the IME candidate window to appear as necessary, but ONLY if an editable text shape is selected.
If some other shape is selected, I need the IME candidate window to never appear. But I still need to respond to keypresses in 'KeyDown' or equivalent, to implement features such as 'press delete to delete shape'.
Unfortunately, I don't seem to be able to programmatically tell the IME candidate window not to show upon a keypress, but still keep keyboard focus on the 'draw area' control. I am experiencing this issue when running the application on Win 10.
Does anyone know a way?