Button Events in C#
I started using the UI API only recently and I'm trying to see what it can and cannot do right now... i am building simple applications to test these aspects. so far i managed to create a custom Form with relative ease. however i am having a bit of a problem with events on custom forms. i added 2 buttons and put an ItemEvent handler on the however the Event doesnt seem to get executed when i press one of the buttons in the form. it works fine with the Form activate event but i cannot seem to get it working with the ItemPressed event.
i also tried looking into EventFilters by adding my form into an et_ITEM_PRESSED event filter but it didnt work either. clicking on the buttons has no effect whatsoever. anyone has any hint on what i am missing?
Thanks in advance for any help,