[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Lost WM_LBUTTONUP messages....
From:       Chris Morgan <cmorgan () wpi ! edu>
Date:       2000-08-30 0:18:13
[Download RAW message or body]

I'm working on some changes to the treeview control and I'm having trouble with
losing WM_LBUTTONUP messages.  I have printf's in the handlers for
lbuttondown/up messages and i'm seeing two WM_LBUTTONDOWN messages in a row,
with a single LBUTTONUP message after these two.  I get the same behavior on
both my up and smp boxes.  Nothing is being done to change the focus on the
control and my printfs are at the very beginning and end of each handler.  I
also checked and the event is being received and dispatched in input.c by
hardware_event().  Where would I look to see which window was receiving this
message since it appears that the treeview control window might not be?  Any
other suggestions anyone has?

This is a snippet of a +relay I did where you can see the repeated down
messages and the single up message.  Shouldn't there be a WM_LBUTTONUP for
every WM_LBUTTONDOWN?

trace:relay:WINPROC_CallWndProc \
(wndproc=0x447b1d,hwnd=0000146c,msg=WM_LBUTTONDOWN,wp=00000001,lp=00830070) \
trace:relay:WINPROC_CallWndProc \
(wndproc=0x4075ec64,hwnd=0000146c,msg=WM_LBUTTONDOWN,wp=00000001,lp=00830070) \
trace:relay:WINPROC_CallWndProc \
(wndproc=0x4075ec64,hwnd=0000146c,msg=WM_LBUTTONDOWN,wp=00000001,lp=00830070) \
ret=00000000 trace:relay:WINPROC_CallWndProc \
(wndproc=0x447b1d,hwnd=0000146c,msg=WM_LBUTTONDOWN,wp=00000001,lp=00830070) \
ret=00000000 trace:relay:WINPROC_CallWndProc \
(wndproc=0x447b1d,hwnd=0000146c,msg=WM_LBUTTONDOWN,wp=00000001,lp=00a10070) \
trace:relay:WINPROC_CallWndProc \
(wndproc=0x4075ec64,hwnd=0000146c,msg=WM_LBUTTONDOWN,wp=00000001,lp=00a10070) \
trace:relay:WINPROC_CallWndProc \
(wndproc=0x4075ec64,hwnd=0000146c,msg=WM_LBUTTONDOWN,wp=00000001,lp=00a10070) \
ret=00000000 trace:relay:WINPROC_CallWndProc \
(wndproc=0x447b1d,hwnd=0000146c,msg=WM_LBUTTONDOWN,wp=00000001,lp=00a10070) \
ret=00000000

trace:relay:WINPROC_CallWndProc \
(wndproc=0x447b1d,hwnd=0000146c,msg=WM_LBUTTONUP,wp=00000000,lp=00a10070) \
trace:relay:WINPROC_CallWndProc \
(wndproc=0x4075ec64,hwnd=0000146c,msg=WM_LBUTTONUP,wp=00000000,lp=00a10070) \
trace:relay:WINPROC_CallWndProc \
(wndproc=0x4075ec64,hwnd=0000146c,msg=WM_LBUTTONUP,wp=00000000,lp=00a10070) \
ret=00000000 trace:relay:WINPROC_CallWndProc \
(wndproc=0x447b1d,hwnd=0000146c,msg=WM_LBUTTONUP,wp=00000000,lp=00a10070) \
ret=00000000


---------
Chris Morgan


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic