Hi Ken, First, I assume you have set the DirectX cooperative level flag to foreground exclusive. That is esentual in keeping control of the mouse and not let other wwindows or apps steel the mouse control from you. Second, as I recall you want to set the mouse tracking to relative and not absolute. I can dig up the mouse demo source from Alchemy and see how James solved this question, but I am pretty sure those two things are what were needed to have good mouse support.
Ken the Crazy wrote: > I will post this to the AgDev developers list too, but using VB6, does anyone > know how to get mouse movements and limit the mouse to the current window so > people aren't clicking on the desktop? I have decided that though using the > keyboard was effective in Enemy Attack, it totally sucks when you're trying > to control paddles because you can't get the angles you want sometimes. I > liked the idea of a breakout pinball table, but I feel it is time to take the > next step and go mouseward. I'll leave the keyboard the way it is for those > who don't want to use a mouse.. > Ken Downey > President > DreamTechInteractive! > > And, > Coming soon, > Blind Comfort! > The pleasant way to get a massage--no staring, just caring. > _______________________________________________ > Gamers mailing list .. [email protected] > To unsubscribe send E-mail to [EMAIL PROTECTED] You can visit > http://audyssey.org/mailman/listinfo/gamers_audyssey.org to make > any subscription changes via the web. > > _______________________________________________ Gamers mailing list .. [email protected] To unsubscribe send E-mail to [EMAIL PROTECTED] You can visit http://audyssey.org/mailman/listinfo/gamers_audyssey.org to make any subscription changes via the web.
