Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/external/source/vncdll/winvnc/MatchWindow.h
Views: 11779
// Copyright (C) 2001 HorizonLive.com, Inc. All Rights Reserved.1//2// This file is part of the VNC system.3//4// The VNC system is free software; you can redistribute it and/or modify5// it under the terms of the GNU General Public License as published by6// the Free Software Foundation; either version 2 of the License, or7// (at your option) any later version.8//9// This program is distributed in the hope that it will be useful,10// but WITHOUT ANY WARRANTY; without even the implied warranty of11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12// GNU General Public License for more details.13//14// You should have received a copy of the GNU General Public License15// along with this program; if not, write to the Free Software16// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,17// USA.18//19// TightVNC distribution homepage on the Web: http://www.tightvnc.com/202122// MatchWindow.h: interface for the CMatchWindow class.23//24//////////////////////////////////////////////////////////////////////2526#if !defined(AFX_MATCHWINDOW_H__11975916_3DA2_11D3_8EA3_008048C6AFB8__INCLUDED_)27#define AFX_MATCHWINDOW_H__11975916_3DA2_11D3_8EA3_008048C6AFB8__INCLUDED_2829#if _MSC_VER > 100030#pragma once31#endif // _MSC_VER > 10003233class vncServer;3435class CMatchWindow36{37public:38BOOL ModifyPosition(int left,int top, int right,int bottom);39CMatchWindow(vncServer* pDlg,int left,int top, int right,int bottom);40virtual ~CMatchWindow();41void GetPosition(int &left,int &top, int &right,int &bottom);42HWND m_hWnd;43BOOL m_bSized;44POINT m_TrackerHits[8];45int HitTest(POINT&); // -1 = no Hits; 0-7 Numb. of Hit46void ArrangeHits();47void ChangeRegion();48void Show();49void Hide();50void CanModify(BOOL);51static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);52vncServer* m_pServer;53};5455#endif // !defined(AFX_MATCHWINDOW_H__11975916_3DA2_11D3_8EA3_008048C6AFB8__INCLUDED_)565758