EmEditor Home - EmEditor Help - Plug-in Reference - Messages

EE_SERIAL_TO_LOGICAL

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 send this message explicitly or use the Editor_SerialToLogical inline function.

EE_SERIAL_TO_LOGICAL
    wParam = (WPARAM) (UINT) nSerial;
    lParam = (LPARAM) (POINT_PTR*) pptLogical;

Parameters

nSerial

Specifies a serial position to be converted.

pptLogical

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

Return Values

Return the serial potion.

Copyright 2003-2015 by Emurasoft, Inc.