K
K
kLkA2012-11-13 21:58:38
C++ / C#
kLkA, 2012-11-13 21:58:38

Widget on desktop, WinApi?

Good day, I'm making a widget on the desktop. When you press the Win + D key combination (the “Minimize all windows” button, Win + M minimizes the widget along with all windows. What and how to intercept functions in order to avoid the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ishli, 2012-11-14
@Ishli

Hm strange. I checked my own and other people's widgets on Windows 7, but these keyboard shortcuts do not minimize widgets.
Maybe you don't have the correct gadget.xml?
Here is an example gadget.xml that I am using:
<?xml version="1.0" encoding="utf-8" ?> <gadget> <name>MonitorGadget</name> <namespace>YourCompanyNameHere</namespace> <version>1.0.0.0</version> <author name="XXX"> <info url="http://contoso.com" text="Vist our Web site" /> <logo src="logo.png" /> </author> <copyright>© 2007</copyright> <description>your gadget description</description> <icons> <icon width="64" height="64" src="icon.png" /> </icons> <hosts> <host name="sidebar"> <base type="HTML" apiVersion="1.0.0" src="XXX.TestPage.html" /> <permissions>full</permissions> <platform minPlatformVersion="0.3" /> </host> </hosts> </gadget>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question