Example #1
0
	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;
	}
Example #2
0
		static POINT screen_to_client( HWND hwnd, point_t< origin_type::screen > const& src )
		{
			POINT dst = src.data();
			ScreenToClient( hwnd, &dst );
			return dst;
		}