Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

158
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda