'Meaning of the parameters for EM_EXLINEFROMCHAR

The parameter for EM_EXLINEFROMCHAR and EM_LINEFROMCHAR are different.

While I can find the example of the latter the former does not produce any useful links.

What I wonder is - if I pass -1 just like in EM_LINEFROMCHAR to EM_EXLINEFROMCHAR for the current line where the caret is located will it work properly. MSDN unfortunately doesn't explain it.

TIA!!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source