C# windows form never minimize

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm creating a kind of a gadget using C# and windows forms.
For this to work I need it to that it won't ever get minimized, even if the
user presses Windows+D or Windows+M.

Does anyone knows how can I do that? Or am I thinking about this in the
wrong way?

Thank you very much for your support!
 
Tiago Marques said:
I'm creating a kind of a gadget using C# and windows forms.
For this to work I need it to that it won't ever get minimized, even if the
user presses Windows+D or Windows+M.

Does anyone knows how can I do that? Or am I thinking about this in the
wrong way?

It's developers like you that force folks like Raymond Chen to implement
non-programmable behaviours in the Windows UI.

Displaying the desktop means displaying the desktop, no matter what -
you are not more important than your users.

Having said that, you might want to look at implementing a desktop
toolbar - that's slightly different, in that it actually makes the
desktop itself smaller.

-- Barry
 
Maybe I was going on the wrong direction, but there dozens of applications
allmost like this, windows vista gadgets, yahoo widgets, etc. and I'm not
more important than my users, that is why I try to do what they ask for.

I'll look for desktop toolbars.

Thank you for feedback.
 
Hi,

Tiago Marques said:
Maybe I was going on the wrong direction, but there dozens of applications
allmost like this, windows vista gadgets, yahoo widgets, etc. and I'm not
more important than my users, that is why I try to do what they ask for.


I concur with Barry, if I hit Windows+D I want to see all the desktop.

In addition to barry's answer you could try to intercept the minimaze event
and ignore it. (Or just send another event of "restore" to your app)
 
The question is that the user wants to be able to use Windows+D but still see
this software, as this is going to be the start for several common tasks.
 
Hi,




I concur with Barry, if I hit Windows+D I want to see all the desktop.

In addition to barry's answer you could try to intercept the minimaze event
and ignore it. (Or just send another event of "restore" to your app)

Win+D hides Windows, I suspect - it even hides modal dialogs and their
blocked parents, for example.

-- Barry
 
Tiago said:
The question is that the user wants to be able to use Windows+D but still see
this software, as this is going to be the start for several common tasks.

The person hitting Win+D is wanting to see the desktop, not start tasks.
And I thought the Start menu was for starting tasks.

The person wanting to use something as the starting point for several
common tasks would want *perhaps* quickstart icon, a system tray icon or
a hotkey. Being a drag target is about the only semi-good reason I can
think of for still being visible when everything is hidden with Win+D.

-- Barry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top