Ramifications: what sideeffects or what would happen by doing it.
Have you tried EM_GETSEL to see where the starting position is?
Stupid question but what do you have EM_SETSEL defined as? should be 0xB1
Is it an Edit or Rich Edit control? You cannot use that message for a control other than an edit or rich edit control.
quote:
Originally posted by http://msdn.microsoft.com/en-us/library/bb761661%28VS.85%29.aspx
EM_SETSEL
Selects a range of characters in an edit control. You can send this message to either an edit control or a rich edit control.
Look at the
CB_SETEDITSEL message instead
wParam isn't used in this message. You will need to make a word consisting of the low and high bytes.
js code:
var makeword = function (a,b) { return a | (b << 8); }
Where A is the LowByte and B is the HighByte.