In order to capture that message the form's message handler needs to be hookee.
Overriding the wndproc wont cut it because the lcl blocks it
I wrote a class that makes it easy to force the form class to pass all desired messages so they can be handled normally.
I posted it here at one time "ezmessages"