Look at WM_NCMOUSEMOVE and if it enters your title area, show the
cursor?
case WM_NCMOUSEMOVE:
{
POINTS pts =3D MAKEPOINTS( lParam );
ev.evType =3D HEvent::ET_MOUSEMOVE;
POINT pt =3D { pts.x, pts.y };
ScreenToClient( hWnd, &pt );
if ( pt.x < 0 ) ShowCursor( TRUE ); //or something like
that
}
break;
> -----Original Message-----
> From: gam...@li...=20
> [mailto:gam...@li...] On=20
> Behalf Of Ignacio Casta=F1o
> Sent: Thursday, February 07, 2002 3:47 PM
> To: gam...@li...
> Subject: [GD-Windows] cursor over titlebar
>=20
>=20
> Hi,
> I hide the mouse cursor using ShowCursor(0) when my app is=20
> activated, so that the cursor doesn't appear over the window.=20
> However, I would like to show it when it's over the titlebar,=20
> to allow the user to move the window. Any hints would be appreciated!
>=20
>=20
> Ignacio Casta=F1o
> ca...@as...
>=20
>=20
>=20
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>=20
>=20
> _______________________________________________
> Gamedevlists-windows mailing list=20
> Gam...@li...
> https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
> Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3D555
>=20
|