点击或拖拽改变大小

HITTEST 字段

HITTEST 类型公开以下成员。

字段
  名称说明
公共字段静态成员HTBORDER
In the border of a window that does not have a sizing border.
公共字段静态成员HTBOTTOM
In the lower-horizontal border of a resizable window (the user can click the mouse to resize the window vertically).
公共字段静态成员HTBOTTOMLEFT
In the lower-left corner of a border of a resizable window (the user can click the mouse to resize the window diagonally).
公共字段静态成员HTBOTTOMRIGHT
In the lower-right corner of a border of a resizable window (the user can click the mouse to resize the window diagonally).
公共字段静态成员HTCAPTION
In a title bar.
公共字段静态成员HTCLIENT
In a client area.
公共字段静态成员HTCLOSE
In a Close button.
公共字段静态成员HTERROR
On the screen background or on a dividing line between windows (same as HTNOWHERE; except that the DefWindowProc function produces a system beep to indicate an error).
公共字段静态成员HTGROWBOX
In a size box (same as HTSIZE).
公共字段静态成员HTHELP
In a Help button.
公共字段静态成员HTHSCROLL
In a horizontal scroll bar.
公共字段静态成员HTLEFT
In the left border of a resizable window (the user can click the mouse to resize the window horizontally).
公共字段静态成员HTMAXBUTTON
In a Maximize button.
公共字段静态成员HTMENU
In a menu.
公共字段静态成员HTMINBUTTON
In a Minimize button.
公共字段静态成员HTNOWHERE
On the screen background or on a dividing line between windows.
公共字段静态成员HTOBJECT
公共字段静态成员HTRIGHT
In the right border of a resizable window (the user can click the mouse to resize the window horizontally).
公共字段静态成员HTSYSMENU
In a window menu or in a Close button in a child window.
公共字段静态成员HTTOP
In the upper-horizontal border of a window.
公共字段静态成员HTTOPLEFT
In the upper-left corner of a window border.
公共字段静态成员HTTOPRIGHT
In the upper-right corner of a window border.
公共字段静态成员HTTRANSPARENT
In a window currently covered by another window in the same thread (the message will be sent to underlying windows in the same thread until one of them returns a code that is not HTTRANSPARENT).
公共字段静态成员HTVSCROLL
In the vertical scroll bar.
Top
参见