Jehan,
> A static would do the job but, by personnally, I don't like static in a
> function. It's easy to miss the "static" keyword when reading the code
> which then make it hard to understand (or at least, I missed it. Several
> times already I spent a few hours to try to understand why the cod
Jehan,
> However, I already got on a
> couple occasions the pointer visible with no way to hide it.
Was that with your modified server or with the Test57 server? I had to
reimplement the showing/hiding logic in the Test57 server since I couldn't
use your patch directly... so I need to know whic
Harold Hunt wrote:
> As I thought, the documentation for WM_NCMOUSEMOVE does say that you are
> supposed to return 0 if you process that message. However, they fail to
> mention that things such as button highlighting are handled by
> DefWindowProc, which you still need to call if you want to pre
below, then download from your
closest mirror (http://cygwin.com/mirrors.html).
Server binary, direct link:
http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test57.exe.bz2 (1078 KiB)
Server source, direct link:
http://www.msu.edu/~huntharo/xwin/shadow/xwin-20020608-2149.tar.bz2 (72 KiB)
Changes:
1
Jehan,
> - Last, WM_NCMOUSEMOVE calls the default winproc. This should fix
> the min/max/close button highlight problem on WinXP (Although I don't
> have XP so I can't test)
That's an excellent catch. I went back and read the Platform SDK docs about
WM_NCMOUSEMOVE:
http://msdn.microsoft.com
Hi again Harold,
Here is another patch. It's about the windows mouse cursor.
- It maybe just a matter of preferences but for me, I prefer if the
windows cursor is hidden in the client area of X if it isn't active. I
personnally find it ugly to have two mouse cursors on top of each other
:p
Waldo,
Thanks for the reply.
> I looked at your screenshots and it struck me that _some_ icons
> did show up.
> So If I had to make an educated guess I would say that it is
> related to some
> sort of alpha-channel problem. I would then assume that the icons in the
> screenshots that show up do