473,385 Members | 1,863 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,385 software developers and data experts.

"Show Desktop" event

Does anybody know, what message is being sent to the window(s) when one
clicks "Show Desktop" button (the one on windows taskbar ;) )? I'd like
to capture such a message to set some variables.
Any help will be greatly appreciated.

Jun 19 '06 #1
4 5548
12******@wp.pl wrote:
Does anybody know, what message is being sent to the window(s) when one
clicks "Show Desktop" button (the one on windows taskbar ;) )? I'd like
to capture such a message to set some variables.
Any help will be greatly appreciated.


Why would you possibly want to know when a user shows the desktop? What
are you ultimately trying to do?
Jun 19 '06 #2

jeremiah johnson napisal(a):
Why would you possibly want to know when a user shows the desktop? What
are you ultimately trying to do?


When I click application icon in system tray, I'd like to check it's
state (minimized, normal) and perform appropriate action. When
application is maximized and one clicks "Show Desktop", application's
state isn't changed (it's still "Normal") so it's a bit confusing.
That's why I'd lkie to know when somebody clicks this button.

Jun 19 '06 #3
Hi,

It should change to minimazed, are you sure it does not change?
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
<12******@wp.pl> wrote in message
news:11*********************@f6g2000cwb.googlegrou ps.com...

jeremiah johnson napisal(a):
Why would you possibly want to know when a user shows the desktop? What
are you ultimately trying to do?


When I click application icon in system tray, I'd like to check it's
state (minimized, normal) and perform appropriate action. When
application is maximized and one clicks "Show Desktop", application's
state isn't changed (it's still "Normal") so it's a bit confusing.
That's why I'd lkie to know when somebody clicks this button.

Jun 19 '06 #4

Ignacio Machin ( .NET/ C# MVP ) napisal(a):
It should change to minimazed, are you sure it does not change?


Yes, I was sure it will change to minimized and was surprised it
doesn't :).

Jun 19 '06 #5

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

Similar topics

0
by: John Yasaitis | last post by:
I seem to have replication set up correctly to only replicate one database named vmail.* Except when I try to update a table in vmail.* the changes do not replicate to the slave. Authentication...
1
by: Nick | last post by:
How to change the pic to a "show error" image when loading images failed - for example, no image file exists? I tried to add the following statement in the onload event function: if...
0
by: Helene Day | last post by:
I did a window service and I wish to have the "Allow service to interact with desktop" option checked. How do I do this programmatically? Thanks in advance for your help.
0
by: Bob Sanford | last post by:
I am working with php scripting under an apache-based web service in Windows. The "allow service to interact with desktop" feature is NOT checked for this service, and I don't want it to be. But I...
2
by: Mike | last post by:
I am trying to call one webform from the click event of a button on another webform. In VB6 windows applications, this is a simple Form.Show, but I can't figure out the syntax to call Webforms....
8
by: Just Me | last post by:
1)How can I find the folders like "My Recent Document", "Desktop", "My Pictures",... if I want to store a file there? 2) How can I find the icon for those files if I want to display it? ...
6
by: Lee | last post by:
how can i do this? I have a form, which i do not want to keep on top of all others (TopMost), yet i dont want it dissapearing when the "show desktop" button is pressed. Now i know that the...
1
by: dskinibbyb | last post by:
Hi all, I want to start a windows application onStart of a .Net service... i am able to start this process, but it wont display until i set the option Allow service to interace with desktop...
0
by: active | last post by:
GetSpecialFolderlPath returns "Desktop" for 0 and for 16. Is there something different between these two ShellSpecialFolderConstants? If not, Why is there two identical values?
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.