Convert the display coordinates of a specified position to the logical coordinates. You can use this inline function or explicitly send the EE_VIEW_TO_LOGICAL message.
Editor_ViewToLogical( HWND hwnd, POINT_PTR* pptView, POINT_PTR* pptLogical );
hwnd
Specifies the window handle of the view or frame of EmEditor.
pptView
Pointer to a POINT_PTR structure that specifies the display coordinates to be converted.
pptLogical
Pointer to a POINT_PTR structure that will receive the converted logical coordinates.
The return value is not used.
Send feedback on this topic to Emurasoft