473,386 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

C# windows form never minimize

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!
May 23 '07 #1
6 5049
Tiago Marques <Tiago Ma*****@discussions.microsoft.comwrote:
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

--
http://barrkel.blogspot.com/
May 23 '07 #2
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.

"Barry Kelly" wrote:
Tiago Marques <Tiago Ma*****@discussions.microsoft.comwrote:
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

--
http://barrkel.blogspot.com/
May 23 '07 #3
Hi,

"Tiago Marques" <Ti**********@discussions.microsoft.comwrote in message
news:AB**********************************@microsof t.com...
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)
May 23 '07 #4
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.

"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,

"Tiago Marques" <Ti**********@discussions.microsoft.comwrote in message
news:AB**********************************@microsof t.com...
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)
May 23 '07 #5
"Ignacio Machin \( .NET/ C# MVP \)" <machin TA laceupsolutions.com>
wrote:
Hi,

"Tiago Marques" <Ti**********@discussions.microsoft.comwrote in message
news:AB**********************************@microsof t.com...
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)
Win+D hides Windows, I suspect - it even hides modal dialogs and their
blocked parents, for example.

-- Barry

--
http://barrkel.blogspot.com/
May 23 '07 #6
Tiago Marques wrote:
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

--
http://barrkel.blogspot.com/
May 23 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: VMI | last post by:
How can I add a small "Please wait..." form to a child form so that when I minimize the child form, the "Please Wait..." form will also disappear? This form will be displayed when the child form is...
2
by: Joe Bloggs | last post by:
I have a Windows form application that has a start button, a progress bar and also writes information to the status bar the code is C#. My problem is that when you hit the start button and the...
1
by: Maziar Aflatoun | last post by:
Hi, I'm having a hard time finding the event that fires when form minimize button is clicked. Any help would be greatly appreciated. thanks Maz
19
by: Oliver Neumann | last post by:
Hello, im new to c# and i got an app with a notifyicon. Now i want to start the app only with the notifyIcon, so that the Main-Form doesnt show up. The form itself is used at the entrance...
3
by: Don | last post by:
If you have a form that calls another form via the following code: Dim myForm as Form2 myForm = New Form2 myForm.Owner = Me MyForm.ShowDialog and you minimize the second form, the first form...
2
by: neilphan | last post by:
Hi Guys, I need a quick reference to Windows Application Development in dotNet. I'm fairly good at the Web Development using asp.net though i'm new to the Windows Desktop Application...
9
by: mohit.akl | last post by:
Hey guys & gals I am havng trouble modifying the control box. I want to make the maximise button invisible and have minimisise button instead of it. Like this _ X (not like _ o X ) How...
11
by: M O J O | last post by:
Hi, I'm creating my own Sidebar (like in Vista). In my XP's quick menu, I have a button called "Show Desktop". When I click it all forms are minimized. Since I don't want my SideBar to be...
8
by: News Microsoft | last post by:
Hi there. I would like to know how can I test if a Form exists. This is the situation: I have a single Form in my application. My objective is, when I minimize the form, it will disapear and a...
11
by: Doc John | last post by:
I have a Windows application developed in VS.Net 2002 and upgraded to VS2005, and when I try to run it in an 800x600 resolution, it doesn't load completely (plus its memory usage is really high)....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.