Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

156
Views
WPF How do you show window over fullscreen apps?

I've tried using

window.Focus()

SetForgroundWindow(handle);

SetWindowPos(handle, -1, 0, 0, 0, 0, 0x0001 | 0x0002)

to bring WPF window to front of the fullscreen app.

I want WPF app to be on top the fullscreen app, not focused, and I could do this when spamming ALT+TABs, and clicking my program from taskbar. But I can't make it happen with codes.

Is there anyway except hooking into DirectX or OpenGL to show my app over fullscreen?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Well, I've tried many things to set this my WPF application on top. And I found the answer.

It's not C# code, but it's XAML.

<Window Topmost="True" WindowStyle="None">
  <Window.Background>
    <SolidColorBrush Opacity="0" Color="White"/>
  </Window.Background>
  <Dockpanel>
    <Dockpanel.Background>
      <!-- Background Properties you use --!>
    </Dockpanel.Background>
  </Dockpanel>
</Window>

I made window's background transparent, then set background to dockpanel which includes buttons, grids, etc. to make my wpf application controllable. You can leave dockpanel background to blank if you don't want it controllable.

With this, you can show your wpf application on top of fullscreen app.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!