ConEmu icon indicating copy to clipboard operation
ConEmu copied to clipboard

Apps that use FlashWindow / FlashWindowEx will not flash if Inject ConEmuHk.dll is active

Open nafonso opened this issue 2 years ago • 2 comments

Versions

ConEmu build: 221218 x64 OS version: Windows 10 x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): cmder with clink, cmd, powershell, all have the same behaviour.

Problem description

When launching an app that makes use of FlashWindow / FlashWindowEx apis, if Inject ConEmuHk.dll is selected, the window will not flash.

Steps to reproduce

Don't have an app I can send you atm, but steps are

  1. Run app that calls FlashWindow( handle, 1);
  2. Notice how the icon on the taskbar will not flash
  3. Disable Inject ConEmuHk.dll
  4. Re-run app that calls FlashWindow

Actual results

With ConEmuHk.dll inject it doesn't flash

Expected results

It should always flash.

Additional files

ConEmu.zip

nafonso avatar May 18 '23 23:05 nafonso

Which handle do you use to flash?

Option? https://conemu.github.io/en/SettingsFeatures.html#id1719

Maximus5 avatar Jul 29 '23 07:07 Maximus5

I use the window handle I get from glfw, here's how I'm calling it image The console options I haven't touched, they look like image

nafonso avatar Jul 31 '23 22:07 nafonso