HMG_EditControlGetSel
Posted: Wed Feb 08, 2017 9:19 pm
HMG_EditControlGetSel(nHWnd, @nStart, @nEnd) - does not work properly.
Why?
Look at source code:
How to fix it?
Use:
HMG_EditControlGetSel(nHWnd, NIL, @nStart, @nEnd)
or change in the source:
Why?
Look at source code:
How to fix it?
Use:
HMG_EditControlGetSel(nHWnd, NIL, @nStart, @nEnd)
or change in the source:
Code: Select all
if (HB_ISBYREF(2))
hb_stornl ((LONG) nStart, 2);
if (HB_ISBYREF(3))
hb_stornl ((LONG) nEnd, 3);