I know how to set the selectionstart and selectionend. Googling usually gives you like;
start = gagdet.Selectionstart
TheEnd = gagdet.SelectionEnd
Something asfar as I know PB does not support. So is there a way to get these two values?
So far I've tested with this;
Code: Select all
Protected.i wp = 0, lp = -1
SendMessage_(GadgetID(#TxtMinutesInHour),#EM_GETSEL,wp,lp)
but whatever wp/lp returns is what I put into it, not the first and last position as expected of market text