[ANNOUNCEMENT] Server Test 57

Harold Hunt huntharo@msu.edu
Sun Jun 9 11:47:00 GMT 2002


Jehan,

That last message fired off before I was done... my Ctrl key is sticking so
when I hit Enter it sent a Ctrl+Enter, which sends the message.

> I don't think you need to manage the cursor in WM_ACTIVATEAPP, managing
> it in WM_ACTIVATE should be enough because, if I'm not wrong, XWin will
> always receive a WM_ACTIVATE with a WM_ACTIVATEAPP.

Then again, your version gets trapped in a state where the cursor is shown,
whereas I haven't seen that problem with Test57 yet :)

I remember spending a *lot* of time reading the docs about WM_ACTIVATE and
WM_ACTIVATEAPP to figure out where to show and hide the cursor.  There were
constant bug repots until I got it right, so I'm going to tend to believe
that the show/hide in WM_ACTIVATEAPP is required, until someone presents me
with some sample code and documentation exerpts that shows me that 1)
they've spent more time on the problem than I have and 2) that the show/hide
code in WM_ACTIVATEAPP is indeed not needed.

Until then, I'm inclined to leave the processing as it is.

Harold



More information about the Cygwin-xfree mailing list