Skip to content
October 4, 2023
  • Disney Shorts 1940
  • Disney Shorts 1939
  • Disney Shorts -1938
  • Disney Shorts 1937

Matthias's Unfocused Semicoherent Nonsense

I need fewer hobbies

Newsletter
Random News
  • About
  • About Matthias
  • Windows Phone 8 Getting Started Links
Headlines
  • Disney Shorts 1940

    3 years ago
  • Disney Shorts 1939

    4 years ago
  • Disney Shorts -1938

    4 years ago4 years ago
  • Disney Shorts 1937

    4 years ago4 years ago
  • Disney Shorts 1936

    4 years ago4 years ago
  • Disney Shorts – The Alice Shorts (1923-1927)

    4 years ago4 years ago
  • Home
  • focus

focus

  • focus
  • Popup
  • WPF
  • XAML

Getting the Popup to Close When It Loses Focus

Matthias Shapiro16 years ago51 mins

On a recent project, I spent (I kid you not) over three hours trying to get a stinking popup to close when I clicked somewhere else in the application.  Figuring it was a focus issue, I tried the following triggers: IsFocused IsKeyboardFocused IsKeyboardFocusWithin IsMouseCapture IsMouseCaptureWithin All to no avail. Turns out that the only thing…

Read More
Newsmatic - News WordPress Theme 2023. Powered By BlazeThemes.