WS_EX_LAYERED Causing system Caton

Ask for help, how to use AHK_H, etc.
arcticir
Posts: 471
Joined: 17 Nov 2013, 11:32

WS_EX_LAYERED Causing system Caton

07 Sep 2017, 06:12

A large number of create LAYERED window, will cause the system Caton.
This kind of Caton seems to be due to DWM.EXE, although even at peak, it occupies the CPU at about 15%, but it seems to cause a huge burden on the system.
Window, mouse and keyboard, are lost response.
Not only when creating a cardon, when the LAYERED window closes / loses focus and other events occur, it will also be the Caton system.

Is there any way to avoid this problem?



In this example, my computer, in less than a second time to create the window and show it.
Then for 30 seconds for Caton, and show the contents of the window.
If you try to close it, it will disappear after 1 minute in Caton.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

HotKeyIt
Posts: 1504
Joined: 29 Sep 2013, 18:35
Contact:

Re: WS_EX_LAYERED Causing system Caton

07 Sep 2017, 18:57

Can you test it on non AHK_H, do you get the same problem?
arcticir
Posts: 471
Joined: 17 Nov 2013, 11:32

Re: WS_EX_LAYERED Causing system Caton

08 Sep 2017, 09:41

Yes, using LU32, the same problem exists.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus


Return to “Ask For Help”

Who is online

Users browsing this forum: No registered users and 1 guest