There is a problem in my application. After a long system downtime or sleep window messages come with a delay of a few seconds! Once the window receives this message all further message proceed normally again. I created a method invoked manually and throwing window message like this:
PostMessage(this->Handle,MY_HOT_KEY,HotKeyMessage::hkmSomeKey,0);
Nothing has changed. It seems all the same problem with receiving Messages, not sending it. Who knows what it can be connected with?
(Tested on systems from Windows XP to Windows 8.1. Created using C++ Builder. Compiled in x86 applicaion)