Mega Code Archive

 
Categories / Delphi / Examples
 

Opening system menu stops processing messages [wm_timer or wm_user]

For a VCL application, right clicking the application on the system tray to open the system menu; stops processing/receiving messages; even if they are WM_TIMER messages. And they are lost forever. They are not processed after closing the menu. If you write a pure windows application (without VCL) it continues to process messages successfuly, for the above scenario.