taskbar

C# - Get list of open tasks

a 夏天 提交于 2019-11-27 15:01:55
问题 I'm trying to find a way to get the open tasks in C#. I've been searching on google and can only find how to get a list of the processes . I want the only the tasks that would show up on the taskbar. Also, along with that, it would be cool if I could get the process the task is associated with. And if possible get the thumbnail images that Vista uses for the ALT-TAB menu, like in this image: I assume that I will have to use pinvokes because it really doesn't look like there are any libraries

Delphi Change main form while application is running

家住魔仙堡 提交于 2019-11-27 13:46:39
I have this problem. When I hide my main form, then the taskbar icon of my application is also hidden. I saw a new question about this problem as well and the answers didn't really help. They suggested to minimize it, but I do not want to minimize the application. Is it possible to change the main form while the application is already running? for instance. I have two forms. when I want to hide the one form and show the other form, then the taskbar icon should stay at the taskbar and the main form should switch to the other form. I am using Delphi XE6 and it is a VCL Forms application. I have

Win32: full-screen and hiding taskbar

馋奶兔 提交于 2019-11-27 11:08:29
I have a window, which I SetWindowPos(window, HWND_TOP, 0, 0, GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN), SWP_FRAMECHANGED); It covers the whole screen, ok, but it takes a while (0.5 sec) to cover the taskbar as well. Is there a way to come over the taskbar immediately? I found that setting HWND_TOPMOST does it immediately, but it stays above all the other windows, even if I switch the app - this is something I don't want. Also, if I first hide the window and then show it, it somehow forces the window to redraw and covers the taskbar immediately, but it flickers (because of

Pinning a Java application to the Windows 7 taskbar

久未见 提交于 2019-11-27 10:41:30
I use Launch4j as a wrapper for my Java application under Windows 7, which, to my understanding, in essence forks an instance of javaw.exe that in turn interprets the Java code. As a result, when attempting to pin my application to the task bar, Windows instead pins javaw.exe . Without the required command line, my application will then not run. As you can see, Windows also does not realize that Java is the host application: the application itself is described as "Java(TM) Platform SE binary". I have tried altering the registry key HKEY_CLASSES_ROOT\Applications\javaw.exe to add the value

How to make Eclipse behave well in the Windows 7 taskbar?

一笑奈何 提交于 2019-11-27 09:48:50
问题 All other apps that can be pinned to the taskbar behave well. But Eclipse doesn't show recently open projects when I right click it. It also doesn't allow to pin some projects inside it. Note that I have the JS version of Eclipse Helios. Which spawns a new and different taskbar icon after loading. 回答1: Specify the latest available Java VM in your eclipse.ini . I.e.: -vm jdk1.6.0_10\jre\bin\client\jvm.dll Make sure they are on separate lines Anything after the "vmargs" is taken to be vm

How to make DeskBands work on Windows 7 x64?

女生的网名这么多〃 提交于 2019-11-27 08:47:56
问题 I'm going to create an application (C#), which has its DeskBand on the Windows TaskBar. I've found one complete example program, which does this, but I didn't manage to successfully install (add to Toolbars menu on the taskbar) it. I think, it's because my Windows is x64, there are no other visible reasons... So, my question is how to create and add a deskband to Windows 7 x64 taskbar? 回答1: According to Microsoft, Deskbands are not recommended for Windows 7, although they still work. Also

How to hide a taskbar balloon at will?

南楼画角 提交于 2019-11-27 07:12:11
问题 It's very easy to force a taskbar icon to display a balloon tooltip: all I need to do is set the NIF_INFO flag when calling Shell_NotifyIcon( NIM_MODIFY, ... ), and the balloon appears, no problem. Now, I want to be able to hide the balloon when I no longer need it, as well, but I can't find a way to do that. I tried clearing the NIF_INFO flag and calling Shell_NotifyIcon( NIM_MODIFY, ... ), but the balloon remained. It does disappear by itself, a few seconds later, but that's not what I want

Pinning to the taskbar a “chained process”

烂漫一生 提交于 2019-11-27 06:38:53
问题 Let's say I have two programs called launcher.exe and launchee.exe . The launcher display a button which -when clicked- starts launchee.exe and launchee.exe is a simple hello world program. If I do nothing to prevent it, when the user will "pin to the taskbar" the hello world program, it will pin launchee.exe and will not go through the launcher to start the application. What is the best way to tell Windows to pin launcher.exe and not launchee.exe ? To make things concrete here's an example

Multiple windows, but also multiple items on the task bar

三世轮回 提交于 2019-11-27 05:56:23
问题 I'm setting up a program that has three different windows. I'm just using .. Window1 win1 = new Window1(); win1.show(); ...for each of the extra windows. The problem is that each window opens up a new tab on the taskbar. Is there anyway that I can still have my three windows with only one related item on the taskbar? If possible, I would not like to make them all child forms and have to sit inside of another box. Thank you 回答1: Set the ShowInTaskbar to false <Window ShowInTaskbar="False" ...

How to not have a MainForm in Delphi?

一曲冷凌霜 提交于 2019-11-27 05:27:06
问题 i've been trying to get some modeless forms in my application to appear on the taskbar - taking advantage of the new useful taskbar in Windows 7. There's are many issues with the VCL that need to be undone before a form can exist on the taskbar. But the final issue is that minimizing the form that the VCL has designated the main form causes all windows in the application to vanish. Ten years ago, Peter Below (TeamB) documented these problems, and attempts to work around them. But there are