22#if !defined WIN32_LEAN_AND_MEAN
23# define WIN32_LEAN_AND_MEAN
43 , WPARAM wParam, LPARAM lParam);
69 Tracker(LPCRECT lpSrcRect, UINT nStyle);
95 void Draw(HDC hDC)
const;
99 HWND hWndClipTo =
nullptr);
101 int HitTest(POINT point)
const;
106 LPRECT lpRect, HWND hWndClipTo,
108 virtual void AdjustRect(
int nHandle, LPRECT lpRect);
127 int nHandle,
int**ppx,
int**ppy,
int* px,
int*py);
135#define HATCHWIN_BORDERWIDTHDEFAULT 4
BOOL Init(HWND, WORD, HWND)
const DocumentHolder * m_pDocHolder
HWND HwndAssociateSet(HWND)
friend LRESULT APIENTRY HatchWndProc(HWND, UINT, WPARAM, LPARAM)
void RectsSet(LPRECT, LPRECT)
CHatchWin(HINSTANCE, const DocumentHolder *)
BOOL SetCursor(HWND hWnd, UINT nHitTest) const
void GetTrueRect(LPRECT lpTrueRect) const
virtual void DrawTrackerRect(LPRECT lpRect, HWND hWndClipTo, HDC hDC, HWND hWnd)
virtual UINT GetHandleMask() const
void GetModifyPointers(int nHandle, int **ppx, int **ppy, int *px, int *py)
int NormalizeHit(int nHandle) const
BOOL Track(HWND hWnd, POINT point, BOOL bAllowInvert=FALSE, HWND hWndClipTo=nullptr)
int HitTest(POINT point) const
BOOL TrackHandle(int nHandle, HWND hWnd, POINT point, HWND hWndClipTo)
void GetHandleRect(int nHandle, RECT *pHandleRect) const
virtual void AdjustRect(int nHandle, LPRECT lpRect)
int HitTestHandles(POINT point) const
virtual int GetHandleSize(LPRECT lpRect=nullptr) const
virtual void OnChangedRect(const RECT &rectOld)
constexpr tools::Long SIZE
void TransformRect(LPRECT rect, HWND pWnd, HWND pWndClipTo)
BOOL HatchWindowRegister(HINSTANCE hInst)
LRESULT APIENTRY HatchWndProc(HWND hWnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
const wchar_t *typedef BOOL