taskbar

can I set the AppUserModelID of an arbitrary process launched through a jumplist?

こ雲淡風輕ζ 提交于 2019-12-23 04:05:08
问题 I have a simple console application written in C++ that acts as a stub for launching another application through it's jumplist. Purpose is to add jumplist abilities to applications that do not support this. Call it stub.exe. When running stub.exe it creates a custom jumplist using these steps (taken right form the MS samples): create an ICustomDestinationList ICustomDestinationList::BeginList() create an IObjectCollection for_each item_to_add create an IShellLink, set its path/arguments/title

can I set the AppUserModelID of an arbitrary process launched through a jumplist?

无人久伴 提交于 2019-12-23 04:05:02
问题 I have a simple console application written in C++ that acts as a stub for launching another application through it's jumplist. Purpose is to add jumplist abilities to applications that do not support this. Call it stub.exe. When running stub.exe it creates a custom jumplist using these steps (taken right form the MS samples): create an ICustomDestinationList ICustomDestinationList::BeginList() create an IObjectCollection for_each item_to_add create an IShellLink, set its path/arguments/title

Refresh IconCache.db programmatically

孤街浪徒 提交于 2019-12-23 03:48:09
问题 I have a button for firefox.exe pinned. I changed the pinned icon via registry I set the path to a url: I added firefox.exe folder to HKEY_LOCAL_MACHINE : HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\ and set it's value to C:\Users\myUsername\Downloads\addon.ico I added firefox.exe folder to HKEY_CURRENT_USER : HKEY_CURRENT_USER\SOFTWARE\Classes\Applications\ and set it's value to C:\Users\myUsername\Downloads\addon.ico The icon at that path definitely exists. However even though my icon

Detect a taskbar icon flashing

ぐ巨炮叔叔 提交于 2019-12-22 17:55:57
问题 I want to make a script that detects when taskbar icon flashes, and activates a program. I would like to use AutoIt or the Windows API. How to detect when a program's taskbar icon starts flashing? 回答1: To answer your question directly, there is no easy (documented and reliable) way to detect the flashing of the window . It occurs as a result of FlashWindow/FlashWindowEx. A very intrusive and heavy-handed option is to perform global hooking of both APIs. You could do this by injecting a DLL to

Auto-Hide taskbar not appearing when my application is maximized

大城市里の小女人 提交于 2019-12-22 10:59:43
问题 My application draws all its own window borders and decorations. It works fine with Windows taskbars that are set to auto-hide, except when my application window is maximized. The taskbar won't "roll up". It will behave normally if I have the application not maximized, even when sized all the way to the bottom of the screen. It even works normally if I just resize the window to take up the entire display (as though it was maximized). 回答1: I found the problem. My application was handling the

Pin this program to taskbar option missing in my C# application

我们两清 提交于 2019-12-22 05:18:14
问题 All programs I have tried so far in Windows 7 have a 'Pin this program to taskbar' item when right-clicking them in the task bar. I have a C# program that only shows 'Close Window' and nothing else. It is build with C# 2010 Express, and targets .NET 3.5 framework. I can't find any reason why no other options show up or any properties I could change. Does anyone know what property could affect this option? 回答1: http://www.west-wind.com/weblog/posts/2009/Oct/08/Application-that-wont-Pin-to

How do I make the taskbar show my progress bar in PyQt4?

邮差的信 提交于 2019-12-21 19:48:25
问题 I'm using PyQt4 to display a progress bar in my application, but I want it to also be seen on the taskbar, just like many programs such as winRAR and google chrome do. Is there a way to make that happen? 回答1: Yes, you'll want to setup your QProgressBar (not QProgressBarDialog) and insert into QStatusBar (or QMainWindow.statusBar()) with the insertWidget(), then use removeWidget to remove it when you're done with it. 回答2: in PyQT5 you must use addWidget() class ExampleApp(QtWidgets.QMainWindow

C# Display text on the taskbar | Windows 10

回眸只為那壹抹淺笑 提交于 2019-12-20 12:38:13
问题 I want to display a text in the taskbar like the NetSpeedMonitor program . I thought about how Windows did that with der Date and Time display, but I couldn't find any answer. I want to do this with C# and .Net 4.x 回答1: if you watch this pic you see every thing in windows application have an handle(HWND) and if you get it you can change this app parameters and add or remove any thing on if look at this link there is sample for it in console application you just need just doing same thing on

How to get application's Windows taskbar button to show progress of progress bar

这一生的挚爱 提交于 2019-12-20 09:39:09
问题 One of the features introduced in Windows 7 (or was it Vista?) is the capability of the taskbar button of an application to show the progress of a progress bar in that application. When I create a form and place a progress bar on it, it doesn't show up in the taskbar button, so I assume this isn't done automatically. How can I get Windows 7 to show the progress of a progress bar on the application's taskbar button? 回答1: It can be easily accomplished using the ITaskList3 COM Interface. For

Pinning a Java application using Launch4j to the Windows 7 taskbar

拈花ヽ惹草 提交于 2019-12-18 11:12:40
问题 I'm currently trying to pin a Java application to the Windows 7 taskbar. The application is launched with Launch4j. The program icon is displayed correctly but right-clicking the icon on the taskbar only shows a context-menu with the entry "Close window". No menu entry for pinning the application to the taskbar. Dragging the EXE file into the taskbar is also not working properly. When clicking this new launcher in the taskbar then a second icon spawns in the taskbar. I followed the