> It looks like the message never fires. Only few windows messages can be intercepted with the message directive. Inserting your own WndProc in the message chain is a solution: http://wiki.freepascal.org/Win32/64_Interface/ja#Processing_non-user_message s_in_your_window Ludo