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


Converts the display coordinates of a specified position to the device (client) coordinates. You can send this message explicitly or use the Editor_ViewToDev inline function.

    wParam = (WPARAM) (POINT_PTR*) pptView;
    lParam = (LPARAM) (POINT_PTR*) pptDev;



Pointer to a POINT_PTR structure that specifies the display coordinates to be converted.


Pointer to a POINT_PTR structure to receive the converted device coordinates. The x or y value of this structure might become LONG_PTR_MIN or LONG_PTR_MAX the specified position is invalid or the specified position is far from the screen rectangle.

Return Values

The return value is not used.

Copyright 2003-2016 by Emurasoft, Inc.