Game Development Community

GuiBitmapBorderCtrl intercepts mouse events.

by Eustacia Green · in Torque Game Engine · 06/10/2004 (6:55 pm) · 2 replies

I implemented the commandermap resource and added mouse events to it. I wanted to make it purty, so I tried the guiBitmapBorderCtrl. Unfortunately it swallows my mouse events. I tried to make it a sibling, as well as a descendant of the commanderhud, but it doesn't pass on the events. Do I need to modify the c++ code for this event to pass them on? If so how would I go about that? Would this be considered a bug?

#1
06/10/2004 (8:30 pm)
You may need to set the "no cursor" attribute. If it doesn't show up in the gui editor you can always change the script. Just tack the following onto the new guiBitmapBorderCtrl chunk of the .gui file:
noCursor = "1"
I had a similar problem implementing NetGraphGui stuff into head, this was at least the quick and dirty fix. Hope that helps...
#2
06/11/2004 (8:23 am)
Tried it and it's not working. I think that has something to do with the object selection code we are trying to get working though. So back to the drawing board:)