c# - How to add an event into the Windows Message Pump queue? -
VB Net / C # - Using Net Framework 3.5 I'm currently in a handler for a WinForms event (for example) in handler, I want to keep my own event for the windows pumping of the message, but at the end of the queue (assuming this PMS message is FIFO). I would like my handler and any additional handlers to run my current context and to pick up my custom event later that I put in the queue and called its handler, how can I drag any sample code into a stretch event queue Can Incorporate Incident (What Language Does not Care)? If you want to add a message to the queue, you only need P / Invest. According to the documentation, this function: The location (post) messages that create the specified window and the messages in the queue associated with returns without waiting for the thread to process the message hWnd is a handle for your window, whose window should receive the process message. In WinForms, it can be recovered using the handle property. msg is the messag...