|
From: Andre` N. C. <ca...@op...> - 2001-05-17 14:57:21
|
I knew that one:) I'm using Direct Input. I had it in the title:) How do I do it with that? ----- Original Message ----- From: "Lorenzo" <co...@in...> To: <dev...@li...> Sent: Thursday, May 17, 2001 10:54 AM Subject: Re: [Dev-C++] DINPUT > > Does anyone know how to detect where the mouse was clicked? > > case WM_LBUTTONDOWN: > xPos = LOWORD(lParam); // horizontal position of cursor > yPos = HIWORD(lParam); // vertical position of cursor > break; > > -------------------------------------------------------------------------- -- > -------------- > If debugging is the process of removing bugs, > then programming must be the process of putting them in. > -------------------------------------------------------------------------- -- > -------------- > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |