示例#1
0
文件: point.hpp 项目: LNSEAB/mmaccel
	inline POINT point_t<origin_type::screen>::client_to_screen( point_t< origin_type::client > const& src ) noexcept
	{
		POINT dst = src.data();
		ClientToScreen( src.window_handle(), &dst );
		return dst;
	}
示例#2
0
文件: point.hpp 项目: LNSEAB/mmaccel
		static POINT screen_to_client( HWND hwnd, point_t< origin_type::screen > const& src )
		{
			POINT dst = src.data();
			ScreenToClient( hwnd, &dst );
			return dst;
		}