Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - <b>wm_nchittest</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
WM_NCHITTEST

  This message is sent to a window when the mouse is clicked on that window
and we want to know whether we can set the focus to that window. The
default processing for non-static windows is to return HTCLIENT if the
mouse is clicked on the client area. The default processing for static
windows is to return HTNOWHERE.

Parameters
  wParam is not used.
  lParam contains the position of the mouse.
   LOWORD(lParam) is the 0-based screen coordinate of the column that the
   mouse is on.
   HIWORD(lParam) is the 0-based screen coordinate of the row
   that the mouse is on.

Returns
  The window proc should return HTCLIENT if it wants the focus, HTNOWHERE if
it does not want the focus, or HTERROR if the user made a mistake by
clicking on that window. If HTERROR is returned, a beep will be sounded.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson