taskbar

Combine two applications into one icon on taskbar

给你一囗甜甜゛ 提交于 2020-01-16 04:35:06
问题 I have two applications. One is the main application and the other is the updater. A user launches with the updater - if an update is available it will download and extract, otherwise it will just launch the main application. I used two applications for this so that I am able to overwrite the main applcation. The issue is that the users have pinned the "Launcher" application on their taskbar, but when the main application launches it is not grouped under that icon and very confusing for them.

C# Drag and drop to application taskbar icon

送分小仙女□ 提交于 2020-01-15 23:38:12
问题 Is it possible to drag and drop (files, text) to the taskbar icon of a WindowsForms application (C#)? I know there's no easy way to do it for the tray icon (it involves using Win32 API and hooks), but I was wondering if it's possible for the taskbar. 回答1: That's not possible, but the window manager automatically restores the minimized window if you hover over it long enough in the taskbar. Once restored, you can access all the drop targets your window implements. 回答2: It is possible, at least

C# Drag and drop to application taskbar icon

狂风中的少年 提交于 2020-01-15 23:37:48
问题 Is it possible to drag and drop (files, text) to the taskbar icon of a WindowsForms application (C#)? I know there's no easy way to do it for the tray icon (it involves using Win32 API and hooks), but I was wondering if it's possible for the taskbar. 回答1: That's not possible, but the window manager automatically restores the minimized window if you hover over it long enough in the taskbar. Once restored, you can access all the drop targets your window implements. 回答2: It is possible, at least

C# Drag and drop to application taskbar icon

末鹿安然 提交于 2020-01-15 23:35:55
问题 Is it possible to drag and drop (files, text) to the taskbar icon of a WindowsForms application (C#)? I know there's no easy way to do it for the tray icon (it involves using Win32 API and hooks), but I was wondering if it's possible for the taskbar. 回答1: That's not possible, but the window manager automatically restores the minimized window if you hover over it long enough in the taskbar. Once restored, you can access all the drop targets your window implements. 回答2: It is possible, at least

Delphi: Minimize application to systray

天涯浪子 提交于 2020-01-15 05:48:21
问题 I want to minimize a Delphi application to the systray instead of the task bar. The necessary steps seem to be the following: Create icon which should then be displayed in the systray. When the user clicks the [-] to minimize the application, do the following: Hide the form. Add the icon (step #1) to the systray. Hide/delete the application's entry in the task bar. When the user double-clicks the application's icon in the systray, do the following: Show the form. Un-minimize the application

“Wrong” app gets pinned to taskbar (Windows 7)

吃可爱长大的小学妹 提交于 2020-01-13 17:58:50
问题 I have an application that gets started via a shortcut. This application than starts a Java GUI application with CreateProcess(). When the Java application gets pinned to the taskbar the javaw.exe gets pinned to the taskbar instead of the "expected" shortcut. Only the native executable which launches Java can be modified - the shortcut has to stay. What has to be done so that the shortcut gets pinned? Thanks, Stefan 回答1: Use something like winrun4j or create a .bat instead of using a shortcut

Removing a pinned app's icon from the Windows 7 taskbar on the application's major upgrade with WiX

孤人 提交于 2020-01-13 02:50:50
问题 After removing a WPF application which were installed with WiX, the app's icon, previously pinned to the Windows 7 taskbar, have not been removed automatically. It remains orphaned and needs to be removed manually. Is it a supposed, typical behaviour? The problem is that after a major upgrade of the application, the pinned icon remains inactive and needs to be manually deleted and repinned. It confuses some users. Is there a possibility to delete or reactivate the app's icon, pinned to the

powershell apply new settings to taskbar

那年仲夏 提交于 2020-01-11 09:56:12
问题 I am playing around with powershell and am changing some taskbar settings by changing the registry key. For example i have written an autohide enable disable function. $autoHideSettingsPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2"; $autoHideValueName = "Settings"; Function toggleAutohideRegistrySettings($enable) { $key = Get-ItemProperty -Path $autoHideSettingsPath -Name $autoHideValueName; Write-Host "key is: " + $key if($enable) { $key.$autoHIdeValueName[8] =

ITaskbar HrInit method throws exception under RemoteApp

假装没事ソ 提交于 2020-01-05 22:20:10
问题 I have a WPF application that sometimes launches legacy VB6 windows. These VB6 windows are compiled as ActiveX DLLs and are launched ‘modally’ from the main WPF application. When the main WPF application launches the VB6 window, the VB6 window passes Me.Hwnd back to the main WPF application which uses ITaskbarList to display an icon on the Windows Taskbar. Code similar to below has worked for years (“value” is ultimately Me.Hwnd from the VB6 application). private ITaskbarList _taskbar;

New taskbar icon when opening a window in WPF

梦想的初衷 提交于 2020-01-03 09:11:31
问题 I have an application that opens another window on some action. I have set a separate icon for the new window, and a new item appears in the taskbar, but the item is stacked behind the original app window. Is it possible to show the new window unstacked in the task bar? So I would have 2 icons in the task bar. Please see the image for my problem. 回答1: Thanks to Xaruth for pointing me in the right direction I found the answer. It seems widows uses an ApplicationID to determine if a window