Receiving events from buttons problem

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
ebol666
Posts: 4
Joined: Sun Apr 23, 2006 12:16 am

Receiving events from buttons problem

Post by ebol666 »

Hi! I did a search on the forum, I see that a similar problem accours, but mostly its just a error in event receiving code... anyway, here's my problem:

Imagine a situation, there's a small gui on the screen including tabcontrol, tab and some buttons. All buttons are properly created and given unique IDs. Receiving events works fine - mouse events dont block gui events.

Problem starts when I set button as a child of tab or simply a child of any other element. Then events that should be started when the button is pressed never occurrs, somethimes the button is not even "pushable". This happend only for the elements that were set as childer of other element.

Anyone ever had similar problem? Any ideas? Thanks in advance :)
Post Reply