• 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 53695 mal Letzte Änderung am %PM, %24. %643 %2015 %14:%Jun

137 Kommentare

  • Kommentar-Link 40 mg baclofen %AM, %17. %414 %2022 %08:%Jul gepostet von 40 mg baclofen

    baricitinib substitute eli lilly baricitinib . baricitinib in patients with refractory rheumatoid arthritis. baricitinib "originally developed"

  • Kommentar-Link quetiapine medicine %PM, %13. %819 %2022 %18:%Jul gepostet von quetiapine medicine

    baclofen topical cream prescription baclofen 10 mg which is stronger cyclobenzaprine or baclofen where can i buy baclofen

  • Kommentar-Link buy metformin us %AM, %12. %243 %2022 %04:%Jul gepostet von buy metformin us

    ivermectin pills stromectol online canada what parasites does ivermectin kill what does ivermectin overdose look like in a dog?

  • Kommentar-Link aralen malaria %PM, %11. %558 %2022 %12:%Jul gepostet von aralen malaria

    diflucan cvs pharmacy can you order diflucan online side effects of diflucan pills how often can i take diflucan

  • Kommentar-Link aralen buy %AM, %09. %327 %2022 %06:%Jul gepostet von aralen buy

    aralen contraindications aralen 100mg price how does aralen work for ra aralen how to buy

  • Kommentar-Link fluconazole online %AM, %07. %418 %2022 %09:%Jul gepostet von fluconazole online

    aralen covid19 chloroquine brand can aralen cause hearing loss how will taking aralen effect rheumatology trsting

  • Kommentar-Link stromectol for sale %PM, %06. %037 %2022 %23:%Jul gepostet von stromectol for sale

    prednisone 10mg tablets prednisone mexico prednisone side effects short term how long does it take for prednisone to work on back pain

  • Kommentar-Link glucophage canada %AM, %04. %373 %2022 %07:%Jul gepostet von glucophage canada

    metformin and aspirin average cost of metformin metformin recall due to kidney failure how long does it take for metformin to get out of your system

  • Kommentar-Link 430 mg baclofen %AM, %04. %364 %2022 %07:%Jul gepostet von 430 mg baclofen

    orlistat 120mg mexico xenical price with insurance is xenical covered by insurance where top buy orlistat

  • Kommentar-Link cost of furosemide %AM, %03. %296 %2022 %06:%Jul gepostet von cost of furosemide

    achat kamagra pfizer kamagra pour homme achat best place to buy kamagra online kamagra ou equivalent sans ordonnance

Schreibe einen Kommentar

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