Pipo Events the second

All about our 2D gui.

Moderator: cuicui

Pipo Events the second

Postby Gero on Thu Dec 13, 2007 12:59 pm

Hi,

I programmed my UI like the ones in IceCube and attached delegates to the button events.
Now the UI doesn't react on anything :( I found out that Brume throws an exception
(Microsoft.DirectX.DirectInput.OtherApplicationHasPriorityException)
Manual BrumeMouse.Aquire() calls solved that exception but not the Pipo problem.
The UI is displayed correct and I don't know how to get it reacting to the mouse events.
Is there any injecting function?

Debugging DirectX Direct Input

If you’re playing with DirectX.DirectInput and the keyboard make sure you set SetCooperativeLevelFlags to Non-Exclusive and Background while running from within Visual Studios otherwise you’ll get Microsoft.DirectX.DirectInput.OtherApplicationHasPriorityException when you try to acquire control of the input device. Visual Studios appears to keep exclusive control even if set to Release Mode.
User avatar
Gero
Brume user
 
Posts: 27
Joined: Thu Dec 06, 2007 10:11 pm

Re: Pipo Events the second

Postby Gero on Thu Dec 13, 2007 1:17 pm

okok, next time I review my code a bit better ;) I have overwritten the mousevents in the main form.
I have to call base.OnMouse{Event}(e) to solve my problem.
User avatar
Gero
Brume user
 
Posts: 27
Joined: Thu Dec 06, 2007 10:11 pm


Return to Pipo 2D framework

Who is online

Users browsing this forum: No registered users and 1 guest

cron