Delta Engine
»
Support
»
UI
»
WPF Example Question
Joined: 1/24/2012(UTC) Posts: 2
|
Hi, i have a short Question.
Is it possible to draw WPF Gui Elements on top of the Windows Form Host?
Right now when i simple place, lets say a <Button /> element above it, it got covered by the WindowsFormhost after it starts rendering.
Thanks in advance,
littlecase
|
|
|
|
Medals:  Joined: 8/20/2011(UTC) Posts: 1,421 Location: Hannover
Thanks: 18 times Was thanked: 97 time(s) in 92 post(s)
|
Well, this has nothing to do with the Delta Engine and is a question better asked in some WPF forum or on Stackoverflow! Basically this is not supported as the WPF side of the WindowsFormsHost does not care or handle anything going on inside it, thus it cannot know when it has to redraw whatever else WPF controls you want on top of it. There are certainly ways around it, but I would consider those "hacks" and usually not even worth the effort. Try to avoid this situation by putting WPF controls not above an WindowsFormsHost, but besides it. You can also use normal Windows Forms controls inside the WindowsFormsHost .. or use UI inside your rendering code .. More information about this and workaround/"Hacks" can be found on the internet, just search for it ^^ http://stackoverflow.com...-top-of-windowsformshost
|
|
|
|
Joined: 1/24/2012(UTC) Posts: 2
|
Ahh thanks for the links! Exactly what i asked for. :)
I just found your engine yesterday and get comfortable with. Keep up the good work!
|
|
|
|
Medals:  Joined: 8/20/2011(UTC) Posts: 1,421 Location: Hannover
Thanks: 18 times Was thanked: 97 time(s) in 92 post(s)
|
No problem, good luck with your WPF application.
|
|
|
|
Delta Engine
»
Support
»
UI
»
WPF Example Question
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.