Altered WM_MOUSEHOVER so the lParam and wParam fields are set
correctly to virtual key states and cursor position.
This commit is contained in:
parent
b31af31cbf
commit
43a0a51540
|
@ -972,7 +972,8 @@ static void CALLBACK TrackMouseEventProc(HWND hwndUnused, UINT uMsg, UINT_PTR id
|
||||||
/* has the mouse hovered long enough? */
|
/* has the mouse hovered long enough? */
|
||||||
if(TrackingList[i].iHoverTime <= TrackingList[i].tme.dwHoverTime)
|
if(TrackingList[i].iHoverTime <= TrackingList[i].tme.dwHoverTime)
|
||||||
{
|
{
|
||||||
PostMessageA(TrackingList[i].tme.hwndTrack, WM_MOUSEHOVER, 0, 0);
|
PostMessageW(TrackingList[i].tme.hwndTrack, WM_MOUSEHOVER,
|
||||||
|
get_key_state(), MAKELPARAM( pos.x, pos.y ));
|
||||||
|
|
||||||
/* stop tracking mouse hover */
|
/* stop tracking mouse hover */
|
||||||
TrackingList[i].tme.dwFlags ^= TME_HOVER;
|
TrackingList[i].tme.dwFlags ^= TME_HOVER;
|
||||||
|
|
Loading…
Reference in New Issue