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

ComboLBox blured #160

Open
musicstashall opened this issue Nov 22, 2024 · 1 comment
Open

ComboLBox blured #160

musicstashall opened this issue Nov 22, 2024 · 1 comment

Comments

@musicstashall
Copy link

Hello, comrades. I am trying to implement transparent ComboLBox in this project. I almost got the result, but there is one catch. I can't draw text using the DrawTextWithAlpha function (which replaces the DrawTextW function in this project), instead of the ExtTextOutW function, it is not drawn. I install the interceptor on winapi ExtTextOutW using the Detours library, draw DrawTextWithAlpha and there is no text. It turns out to draw the text only in those comboboxes that are drawn in WM_DRAWITEM, others are not. If it had been possible to draw text in the DrawTextWithAlpha, then the problem would have been solved. Why doesn't the DrawTextWithAlpha function draw in the body of the ExtTextOutW function, can someone give some advice?

@musicstashall
Copy link
Author

I have already solved the problem myself. I just connected the wrong module. Basically everything, ComboLBox's are now transparent in light and dark themes.

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

1 participant