Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Inline Functions

EmEditor Plug-in Reference: Editor_ViewToDev

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions

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

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.

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.

Return Values

The return value is not used.

Copyright © 2003-2016 by Emurasoft, Inc.