Converts the display coordinates of a specified position to the device (client) coordinates. You can use this inline function or explicitly send the EE_VIEW_TO_DEV message.
Editor_ViewToDev( HWND hwnd, POINT_PTR* pptView, POINT_PTR* pptDev );
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.
pptDev
Pointer to a POINT_PTR structure to receive the converted device coordinates.
The return value is not used.
Send feedback on this topic to Emurasoft