Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetWindowDisplayAffinity is not work at HWND which has WS_EX_LAYERED style #51

Open
Youarenotin opened this issue Jan 3, 2023 · 1 comment

Comments

@Youarenotin
Copy link

i have a semitransparent HWND . when i use SetWindowDisplayAffinity method to exlude it from screen capture , but the result is the semitransparent HWND remains on the captured image.

@robmikh
Copy link
Owner

robmikh commented Jan 4, 2023

Which build of Windows are you running? Are you doing the usual WS_EX_LAYERED/SetLayeredWindowAttributes to achieve the semi-transparency?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants