Many events in the structure of the event

Hello

My GUI application have increased over time and the structure of the main event now contains upward 150 events triggered GUI, mainly buttons both autonomous and in custom controls.

The performance of the application are no problem but I experience occasional freezes the application that freezes everything just the GUI and what I suspect most code running in the background. It is cleared by clicking anywhere on the front panel of the application and the same problem occurs in the development environment and in a bed .exe. To clarify, the application not falling down or stop, it all simply pauses or freezes and then resumes execution when the mouse click occurs. This happens randomly and at least a few minutes between.

I'm currently trying to track down the problem but thought id ask here if someone has experience of first of all structures of the event which handles a large number of events, or perhaps seen the same freeze happen in their application?

Nimgaard wrote:

With regard to a large number of events managed by a single event structure that I have not really looked into what limit would be, but somewhere under the hood of the code have to watch these GUI controls. On the other hand I have not problems of performance if...

There is no watchdog, which could keep the change control, it is all managed by WinAPI, the application is just get it registered to receive messages.

The mouse click event or change of key value chain from interruption managed by the driver running at the kernell windows level.

Basically, the computer, if there is no user activity, consumes much resources from the PC to the active window with no event regarding the active window with many events.

Tags: NI Software

Similar Questions

Maybe you are looking for