Nana - a C++ framework project  

The Programmer's Guide 
nana::gui::API::calc_window_point

Description

Converts a screen coordinates of a specifed point to the window coordinates.

Prototype

bool calc_window_point(nana::gui::window wnd, nana::point& pos);

Parameters

wnd:  a handle to the window whose coordinates are to be converted from screen coordinates.
pos: specifies the screen coordinates of the point to be converted. And the new window coordinates are copied into pos if function succeeds.

Return Value

If the function succeeds. it returns true, otherwise it returns false.

Remarks

None.

See also

None.


Move to The Nana Programmer's Guide Application Programming Interface Overviews