tags:

views:

8

answers:

0

I have this message map inside my header file:

BEGIN_MSG_MAP(CRebarHandler)
  MESSAGE_HANDLER(WM_SETREDRAW, onSetRedraw)  
  MESSAGE_HANDLER(WM_MOUSEMOVE, onSetRedraw)
END_MSG_MAP()

The problem is, my mouse cursor MUST always hover on top of the browser bar in order for the onSetRedraw() function to be called/triggered. How can I make this function also can be triggered even though the mouse is on the client area of the browser?