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

Make hWnd: HWND public #786

Open
NikolayJuly opened this issue Oct 22, 2024 · 2 comments
Open

Make hWnd: HWND public #786

NikolayJuly opened this issue Oct 22, 2024 · 2 comments

Comments

@NikolayJuly
Copy link

Right now View has internal var hWnd: HWND!. And If I want to make some extension, like DirectX rendering view, I can't integrate it with this frmaework. If make it public, I can create view and use it as target for DirectX rendering.
Any other changes, like adding new view subclasses, might also need access to hWnd if I need to make changes using native windows code.

@compnerd
Copy link
Owner

The hope is that there is enough of an API surface that we don't need to drop down to native Windows code to render the UI. Are there specific things that you were thinking of doing with DirectX that might be something that we could expose in a more structured manner?

@NikolayJuly
Copy link
Author

Actually, atm I did switch to winui3, after I was unable to dynamicly update UI with this lib.
So now, nothing specific or structured needed for me.
But it was my problem when I just did initial test about rendering DirectX and some UI.

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