Home > Back-end >  In form minimize message will delay???
In form minimize message will delay???

Time:10-06

In form minimize message will delay???

I use sendmessage send data, receive program is running normally, but when receiving interface to minimize message delays, namely sendmessage after waiting for the returned time longer, due to program for timely demand is higher, it will cause data loss, because want to send data, so can't use postmessage, excuse me what method can solve this problem?

CodePudding user response:

Different application? Can consider to Stock

CodePudding user response:

I found a problem: under the xp display attributes - in effect "appearance -" selected "for the menu and tool tip using the following excessive effect", and choose "fading effect" from the pull down box, minimize the program is running at this time, the not evaporate when there will be a process (short), the application can't respond to any message, if you do not select "for menus and tool tip using the following excessive effect", a program to minimize the does not have any effect, how to solve the program to minimize the fading effect, the response of the message to be the problem?

CodePudding user response:

Try to sendmessageTimeOut

CodePudding user response:

It's no use sendmessageTimeOut ~

CodePudding user response:

Minimize the daemon itself will lower priority, for message processing slow response is normal, you can open a thread this list, then you have a list of data to the thread add, thread when the list is not empty constantly SendMessage, so as not to block you higher real-time threads,

CodePudding user response:

Can transfer data in other ways,
  • Related