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

Could we support HWND attritube of webview, broswer in windows? #12

Open
kamenomi-dev opened this issue Nov 15, 2024 · 3 comments
Open

Comments

@kamenomi-dev
Copy link

(Sorry for my poor translation skills. Forgive me for raising the issue in Chinese. ;_;)
尊敬的开发者,
我很抱歉用中文提出议题,但我想知道的是,我们能否可以让 Webview 库支持 Windows 平台的窗口句柄或者其他类似的属性?
在 Windows 平台下,Webview 是作为子窗口镶嵌在 Broswer 主窗体的,相应它们各有自己的窗口句柄属性,我需要依靠窗口句柄调用 SetWindowCompositionAttribute 来启用 Windows系统 对窗口的背景模糊化 (Acrylic, Aero, Mica, etc.) ,如果可以实现,我感激不尽您的付出!
我对这个专门为跨平台Webview的库深感歉意,但我希望可以对各个系统平台提供专门的支持,尽管这会消耗人力、精力。
祝您身体健康,我很期待你的回复!

@twlite
Copy link
Member

twlite commented Nov 16, 2024

Dear developer,
I'm sorry to ask this question in Chinese, but what I want to know is, can we make the Webview library support the window handle or other similar attributes of the Windows platform?
On the Windows platform, Webview is embedded in the Broswer main window as a subwindow, and they each have their own window handle attributes. I need to rely on the window handle to call SetWindowCompositionAttribute to enable the Windows system to blur the background of the window (Acrylic, Aero, Mica, etc.). If this can be achieved, I will be grateful for your efforts!
I am deeply sorry for this library dedicated to cross-platform Webview, but I hope to provide dedicated support for each system platform, although this will consume manpower and energy.
I wish you good health and I look forward to your reply!

Hi, will take a look at this 🙂

@kamenomi-dev
Copy link
Author

🤔 Hi, Are we making any progress on that?

@twlite
Copy link
Member

twlite commented Dec 13, 2024

🤔 Hi, Are we making any progress on that?

hi, sorry i've been a little too busy at work recently. I'll see when I'm free

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