Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6738053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:19:17+00:00 2026-05-26T11:19:17+00:00

I found the answer to this question in here . that solution works great

  • 0

I found the answer to this question in here.

that solution works great when you call the method just once (don’t call it from the event window activated). I am creating a gadget and I want the window to always be in the back. if the user clicks on the gadget I don’t want it to come to the front which is the default behavior of windows. so what I did in order to solve that problem was to create this event:

    private void Window_Activated(object sender, EventArgs e)
    {
        SendWpfWindowBack(this);
    }

so every time the window is activate it call the method founded on the first link that I provided. the problem is that the system tray gets sent to the back. let me show you what I mean.

that is my gadget on visual studio.

enter image description here

when I run it it get’s sent to the back: (I open notepad and outlook to illustrate my point)

enter image description here

now when I click on it the event window_Activated fires and it gets send to the back:

enter image description here

But note how the system tray (windows start up menu window) get’s sent to the back!!!!

it still is behind everything exept the most important window wich is the windows start up menu. How can I resolve this. why is it going in front of the system tray !?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:19:18+00:00Added an answer on May 26, 2026 at 11:19 am

    After 2 hours of stubbornness I figured it out… Since the window was so big for some reason that happen (gadget was bigger than entire desktop). I made it smaller and it worked.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While trying to answer this question I found that the code int* p =
I have searched and found a previous answer for this question here . The
I haven't found an answer to this particular question; perhaps there isn't one. But
I know this question has been posted before... but I haven't found any answer
I searched and found this question but did not like the answer. Is there
This question is a follow-up question to my previous one that can be found
I've been trying to find the answer to this question here. Several people seem
In Windows, that is. I think the answer to this question is that I
I found this in another question/answer and modified it... but it still doesn't work.
I just joined StackOverflow after having found many great answers here in the past.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.