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

Editor_DevToView

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

Editor_DevToView( HWND hwnd, POINT_PTR* pptDev, POINT_PTR* pptView );

Parameters

hwnd

Specifies the window handle of the view or frame of EmEditor.

pptDev

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

pptView

Pointer to a POINT_PTR structure to receive the converted display coordinates.

Return Values

The return value is not used.

Copyright 2003-2014 by Emurasoft, Inc.