473,651 Members | 2,835 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5071
Tiago Marques <Tiago Ma*****@discuss ions.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*****@discuss ions.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**********@d iscussions.micr osoft.comwrote in message
news:AB******** *************** ***********@mic rosoft.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**********@d iscussions.micr osoft.comwrote in message
news:AB******** *************** ***********@mic rosoft.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**********@d iscussions.micr osoft.comwrote in message
news:AB******** *************** ***********@mic rosoft.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
4564
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 running a lengthy process or when the child form is displayed. Once the child form finishes the process, or it's minimized, the "wait" form will also disappear. Thanks.
2
17665
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 program executes then the application window does not get refreshed so you just see an ugly gray rectangle until the application ends. The status and progress bar do get updated but still if you toggle to another application and then toggle back to...
1
22785
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
24726
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 point of the app: Application.Run(new MainFrame()); Now i tried to use this to hide the Form and show up the trayBarIcon with this in the constructor of the form.
3
5423
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 remains visible (albeit completely disabled).
2
2025
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 environment. For question would be how do you "Redirect" back and forth, from one Windows Desktop Form to another? In the web environment, it would be redirect(<page name>, <true/false to terminate the current page process>) but how do I do the same.
9
12839
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 to do this... and eventually i want to modify the control box in the form of ? _ X ... I.e. adding a new button to control box. I need to detect the click events.
11
4283
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 minimized, how do I prevent this? Thanks!
8
4179
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 TrayIcon apears in the task bar. When I click that icon, the form apears again. The problem is that when I click the icon more than once, the form apears serveral times (several instances).
11
3841
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). If I minimize, and maximize it, then it'll display correctly. How come? Is there a fix? Thanks.
0
8357
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8803
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8700
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8465
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6158
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4285
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2701
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1910
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.