WS_EX_LAYERED Causing system Caton

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: WS_EX_LAYERED Causing system Caton

Re: WS_EX_LAYERED Causing system Caton

Post by arcticir » 08 Sep 2017, 09:41

Yes, using LU32, the same problem exists.

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

Re: WS_EX_LAYERED Causing system Caton

Post by HotKeyIt » 07 Sep 2017, 18:57

Can you test it on non AHK_H, do you get the same problem?

WS_EX_LAYERED Causing system Caton

Post by arcticir » 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]GeSHi © Codebox Plus


Top