• Webseitenerstellung und -hosting
  • .NET Anwendungsentwicklung
  • softwaregesteuerte Prozessoptimierung
  • .NET

    Programmierung

  • WebseitenErstellung

    undHosting

  • softwaregesteuerte

    Prozessoptimierung

  • Konzeption

    und Beratung

%PM, %19. %621 %2014 %13:%Feb

WPF Window BringToFront

geschrieben von
Artikel bewerten
(0 Stimmen)
Alternative gibts im Netz genug, bei mir allerdings hat wie immer nichts geholfen. Spielchen wie Bringintoview, Topmost True/false etc. greifen nicht, vermutlich auch weil ich dafür eine extra Extension geschrieben habe?!


Public Sub ShowFront(winDow As Window)
Try

winDow.Show()
winDow.BringIntoView()
winDow.Activate()
winDow.Focus()
'winDow.Topmost = True
'winDow.Topmost = False

Catch ex As Exception
orange.Fehler.Show(ex)
End Try
End Sub


 

die Lösung: Beim Aufruf des Ereignises welches das Childwindow aufrufen möchte, meist ein click oder mousedown:

e.handled = true

somit wird das Click-Ereignis der Parent-Form beendet und hat keine Auswirkungen auf die folgenden Prozesse.  
Gelesen 54752 mal Letzte Änderung am %PM, %24. %643 %2015 %14:%Jun

137 Kommentare

  • Kommentar-Link priligy pills %AM, %17. %440 %2022 %09:%Jun gepostet von priligy pills

    dapoxetine full stomach dapoxetine pills what is priligy tablets what is priligy dapoxetine

  • Kommentar-Link snorting viagra %AM, %17. %273 %2022 %05:%Jun gepostet von snorting viagra

    levitra promo code free levitra coupon levitra tabs 20mg levitra pro

  • Kommentar-Link how much is levitra %AM, %14. %252 %2022 %05:%Jun gepostet von how much is levitra

    albuterol moa albuterol 90 what is albuterol sulfate inhalation solution where can you buy ventolin inhalers

  • Kommentar-Link was ist kamagra %AM, %14. %234 %2022 %04:%Jun gepostet von was ist kamagra

    albuterol rob holland ventolin 8g ventolin hfa 90 mcg inhaler price when ventolin doesn't work

  • Kommentar-Link Slonsuido %PM, %25. %823 %2022 %18:%Mai gepostet von Slonsuido

    1sepc

    zjtwa

    bw0o

  • Kommentar-Link Slonsuido %PM, %24. %903 %2022 %20:%Mai gepostet von Slonsuido

    i7zzz

    ut5bx

    z45e

  • Kommentar-Link nolvadex 10mg %AM, %11. %453 %2022 %09:%Feb gepostet von nolvadex 10mg

    zanaflex and bruising zanaflex 4mg tablet price is zanaflex stronger than flexeril what is in zanaflex

  • Kommentar-Link molnupiravir nz %PM, %10. %995 %2022 %22:%Feb gepostet von molnupiravir nz

    nolvadex b12 vitamins can you buy tamoxifen over the counter using nolvadex and hcg together where to buy clomid and nolvadex reddit

  • Kommentar-Link olumiant medicine %AM, %09. %172 %2022 %03:%Feb gepostet von olumiant medicine

    aralen stopping aralen malaria does aralen help with pain how is aralen related to dyslexia

  • Kommentar-Link buy aralen 200mg %PM, %08. %792 %2022 %18:%Feb gepostet von buy aralen 200mg

    injecting zanaflex tizanidine brand cost will zanaflex make you sleepy which is stronger flexeril or zanaflex

Schreibe einen Kommentar

Bitte achten Sie darauf, alle Felder mit Stern * zu füllen. HTML-Code ist nicht erlaubt.