EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions

Editor_ViewToLogical

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 );

Parameters

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.

Return Values

The return value is not used.

Copyright 2003-2014 by Emurasoft, Inc.