message-pump
Why does Application.Idle never fire when my form is hosted in a MFC application?
I\'m building a .net plugin for a MFC application. I created a form using WinForms and .net4. The form is shown after user clicks a button in the MFC application. One of my controls uses Application.I[详细]
2023-04-09 17:33 分类:问答How to forward messages (eg. mouse wheel) to another Control without stealing focus and without P/Invoke?
I want to forward a message (such as WM_MOUSEWHEEL) when I\'m over this control with the mouse, without stealing the focus. This problem can be easily solved intercepting the message with an IMessageF[详细]
2023-03-06 19:46 分类:问答Ending a Program Mid-Run
pythoncom.PumpMessages() From what I understand this line basically tells the program to wait f开发者_StackOverfloworever. For my purposes it seems to be working. However, I\'d like to be able to end[详细]
2023-03-06 13:42 分类:问答summarizing contents of the Windows Message Queue?
We have a CF.NET 3.5 app that seems to work fine for about 4 hours before a specific bug appears:Once buggy, there is a delay of approx 30 seconds after a mouse click before the corresponding ..._Mous[详细]
2023-03-04 20:37 分类:问答WPF application calls an API that needs a message pump; Dispather.Run() causes problems
I have a WPF app that uses a non-WPF vendor library.My app does not receive any events that the library fires.I\'ve been told that this is because I need a message pump.[详细]
2023-02-23 13:48 分类:问答Why do I get "Object is currently in use elsewhere" exception?
I have a C# WinForms application. This exception is thrown within the static void Main() method when a DevExpress XtraMessageBox is displayed prior to starting up the main UI form. Below is the code ([详细]
2023-01-06 19:55 分类:问答How to make a program not show up in Alt-Tab or on the taskbar
I have a program that needs to sit in the background and when a user connects to a RDP session it will do some environment setup then launch a program. When the program is closed it will do some house[详细]
2022-12-29 19:40 分类:问答pumpevents - customized look and feel java taking too much system resources
I 开发者_如何学JAVAmake my own GUI see here but system is taking too much resources on further looking into the issue i have found that java pumpevents method is talking too much time.[详细]
2022-12-29 03:28 分类:问答Does Speech Recognition using .NET Framework require a message pump?
I\'m writing a plugin (dll file), and I\'m 开发者_StackOverflowcreating a WinForm as its interface/dialog.[详细]
2022-12-26 07:15 分类:问答"Emulating" Application.Run using Application.DoEvents
I\'m getting in trouble. I\'m trying to emulate the call Application.Run using Application.DoEvents... this sounds bad, and then I accept also alternative solutions to my question...[详细]
2022-12-25 07:07 分类:问答