C
C#2mo ago
Hanami

✅ Z position controlling of my WPF window

Hello, guys, i'm developing a WPF application for a game, which source code I don't have. I want to make a window, that always will be on top of the game window, but if there is a some other window, for example browser, it can be on top of my application. I have one idea to use C++ functions for windows from user32.dll, but it looks complicated and I think there is a simpler solution. Is it?
3 Replies
leowest
leowest2mo ago
what are you making that needs to be on top of a game?
Hanami
HanamiOP2mo ago
This is an information window similar to the deck tracker for hearthstone. Look at the picture, there are two windows with a list, right and left. These are not game windows, these are deck tracker windows. (Deck tracker is a third-party software developed in C# WPF).
No description
leowest
leowest2mo ago
if you're running the game in fullscreen this wont be a simple task as it would most likely involve hooking into the graphics used if its not it might be as simple as setting your window to top most either via pinvoke or other means
Want results from more Discord servers?
Add your server