TAdkins
asked on
WM_TIMER disabled On TitleBar MouseDown?
I have a modeless dialog which I use a WM_TIMER message to perform socket processing. The problem I am having is that if the left mouse button is held down on the dialog title bar, I no longer receive the WM_TIMER messages. If the dialog is moved, I once again receive the messages, but if the button is simply held down and not released, I do not receive the WM_TIMER messages.
Is there something I can do that will allow the WM_TIMER messages to be dispatched in this case. I do not want to
prevent the user from moving the dialog, so ignoring WM_NCLBUTTONDOWN messages is not an option.
Is there something I can do that will allow the WM_TIMER messages to be dispatched in this case. I do not want to
prevent the user from moving the dialog, so ignoring WM_NCLBUTTONDOWN messages is not an option.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
it still uses the WM_TIMER message. The documentation for
::SetTimer says that is calls the callback when it processes
WM_TIMER. Any other ideas?
We are using CAsyncSocket. We are trying to using the timer
proc to go any process the callbacks from CASyncSocket.