Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Inline Functions

EmEditor Plug-in Reference: Editor_SerialToLogical

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions


Converts the serial position to the logical coordinates. The serial position is the zero-based index of the character from the beginning of the entire text. You can use this inline function or explicitly send the EE_SERIAL_TO_LOGICAL message.

Editor_SerialToLogical( HWND hwnd, UINT nSerial, POINT_PTR* pptLogical );



Specifies the window handle of the view or frame of EmEditor.


Specifies a serial position to be converted.


Pointer to a POINT_PTR structure that will receive the converted logical coordinates.

Return Values

The return value is not used.

Copyright © 2003-2021 by Emurasoft, Inc.