So far, I was able to do everything I needed with just the
PlusWnd::GetControlText and
PlusWnd:etControlText functions. But now I'm quite stuck. I want to change the position of the cursor in an EditControl, and set a selection. According to MSDN, it has to be possible, but those messages don't seem to have effect on them:
code:
var EM_SETSEL = 0xB1;
var pos = 2;
PlusWnd.SendControlMessage(PlusWnd.GetControlHandle("EdtExp"), EM_SETSEL, pos, pos+1);
should do it, but it doesn't.
Any ideas?