Hi @Devon Nullman ,
Thanks for reaching out.
In cases like this, the cause usually is the shortcut’s “Start in” setting. When you run the EXE directly, Windows starts the app using its own folder as the working directory. When you use a shortcut, Windows instead uses whatever is defined in the shortcut’s Start in field. If that field is blank or pointing somewhere else, certain UI-related behaviors (including flashing) can behave differently.
I would recommend:
- Right-click the shortcut
- Select Properties
- Check the Start in field
- Make sure it points to the same folder where your EXE resides
Also, ensure the shortcut isn’t configured to run with different privileges (for example, “Run as administrator”) compared to how you normally launch the app, as that can sometimes affect window focus and flashing behavior.
If the issue persists, you may want to verify that your flashing logic is using a valid window handle and that the window is not already active when calling the flash method. Windows will not flash an already active window.
Hope this helps! If my answer was helpful - kindly follow the instructions here so others with the same problem can benefit as well.