Editor_ViewToDev¶
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 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 very far from the screen rectangle. The return value is not used.Parameters¶
Return Values¶