Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Mouse Hit-Test enums
                                              Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  The following enumerated values are passed to the CWnd::On<Message>
  member functions that handle mouse messages, such as
  CWnd::OnMouseActivate and CWnd::OnNcLButtonDblClk.
 
  Value           Meaning
 
  HTBOTTOM        In the lower horizontal border of window.
 
  HTBOTTOMLEFT    In the lower-left corner of window border.
 
  HTBOTTOMRIGHT   In the lower-right corner of window border.
 
  HTCAPTION       In a caption area.
 
  HTCLIENT        In a client area.
 
  HTERROR         Same as HTNOWHERE except that default message processing
                  produces a system beep to indicate an error.
 
  HTGROWBOX       In a size box.
 
  HTHSCROLL       In the horizontal scroll bar.
 
  HTLEFT          In the left border of window.
 
  HTMENU          In a menu area.
 
  HTNOWHERE       On the screen background or on a dividing line between
                  windows.
 
  HTREDUCE        In a minimize box.
 
  HTRIGHT         In the right border of window.
 
  HTSIZE          Same as HTGROWBOX.
 
  HTSYSMENU       In a control-menu box (close box in child windows).
 
  HTTOP           In the upper horizontal border of window.
 
  HTTOPLEFT       In the upper-left corner of window border.
 
  HTTOPRIGHT      In the upper-right corner of window border.
 
  HTTRANSPARENT   In a window currently covered by another window.
 
  HTVSCROLL       In the vertical scroll bar.
 
  HTZOOM          In a maximize box.
 
 
                                     -♦-