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

Add a HostControl to enable hosting native controls #2167

Closed
cwensley opened this issue Mar 22, 2022 · 2 comments · Fixed by #2589
Closed

Add a HostControl to enable hosting native controls #2167

cwensley opened this issue Mar 22, 2022 · 2 comments · Fixed by #2589
Milestone

Comments

@cwensley
Copy link
Member

This control would allow one to host native controls without having to create platform-specific assemblies.

This is mainly necessary for platforms such as WPF, where by default it has only a single HWND for the entire window.

@rafntor
Copy link
Contributor

rafntor commented Mar 22, 2022

What is returned as NativeHandle for controls when targeting Wpf today; do all controls return the (same) Hwnd of the Main-window?

@rafntor
Copy link
Contributor

rafntor commented Mar 22, 2022

Also, would this control also provide a 'setable' handle so that when interfacing to a native control that offers a handle for Eto to display can be supported (as opposed to Eto offering a handle for the native control to use) ?

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

Successfully merging a pull request may close this issue.

2 participants