Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
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.
 
 
                                     -♦-