Yeah, that's cool that it works with that dll but there must be a "normal" way to solve it using just the winapi. If there's none
I will use that eventvb thing but I don't like to overload my program with all these additional stuff. (----> sorry, I didn't notice that it doesn't work with components the first time because I'm currently developing a custom toolbar that needs to be changed in colour when the form loses its focus, so it wasn't necessary for me to use them
)