C
C#11mo ago
Slycex

Embed external application in wpf application

Hello, i want embed a game in my wpf application. The game is a turn by turn mmorpg, most people play 8 account (8 client...) It's not easy to navigate with 8 client in windows. ALT+ESC... I want create an application where I can put a navigation bar with tabs at the top and each tab represents 1 client. I search and test many options but none works. I'm sure is possible because one application exist, but i want create mine for share in open source project (app already exist have very bad UI and not open source) Thank you very much !
9 Replies
_imagineer__
_imagineer__11mo ago
Using 'TabControl' in your UI!?
Slycex
SlycexOP11mo ago
I think i do use Win32.dll with SetParent() for change the parent of my application but i dont know what do i do for embed in my wpf app
Jester
Jester11mo ago
i had given you some help but you didnt succeed? set your wpf app as parent of the game is what i ment its user32.dll btw
Slycex
SlycexOP11mo ago
yes i think too ! but many test with user32.dll and not works
Jester
Jester11mo ago
what didnt work?
Slycex
SlycexOP11mo ago
the game is not in wpf app
Jester
Jester11mo ago
did you have the right window handles?
Slycex
SlycexOP11mo ago
Yes
Jester
Jester11mo ago
well whats the idea exactly? 8 game instances in different tabs? and having the windows normally and doing alt+tab isnt good enough for you? a screen is probably not bit enough to put them all next to eachother if i remember. make sure the game windows arent popup windows (borderless)
Want results from more Discord servers?
Add your server