Questions tagged [taskbar]

For programming questions about the application switcher and launcher on Windows (or other operating systems copying its desktop environment), usually docked to the bottom of the screen. Questions might relate to interacting with and/or modifying the taskbar's behaviors.

1008 questions
12
votes
4 answers

How can I determine programmatically whether the Windows taskbar is hidden or not?

I need to know whether the Windows taskbar is hidden or not. I believe there is no .NET method to do this, and also I have come across a lot of "how to hide and show the taskbar" samples, but I haven't seen anything based on what I am looking for. I…
user246392
  • 2,661
  • 11
  • 54
  • 96
12
votes
3 answers

Using Windows 7 taskbar features in PyQt

I am looking for information on the integration of some of the new Windows 7 taskbar features into my PyQt applications. Specifically if there already exists the possibility to use the new progress indicator (see here) and the quick links…
11
votes
1 answer

How to make my Deskband's (Taskbar Toolbar) Form transparent

I'm working on a Windows Deskband in Delphi XE2 for Windows XP, Vista and 7 (Win32 and Win64)... I've implemented all the necessary interfaces (ITrayDeskBand, IDeskBandInfo, IDeskBand2, IDeskBand) in my code, and that all works exactly as it should…
LaKraven
  • 5,804
  • 2
  • 23
  • 49
11
votes
4 answers

Pin *.lnk file to Windows 7 Taskbar using C#

Even the programmatic pinning of icons in Windows 7 seems it's not permitted (like it says here: http://msdn.microsoft.com/en-us/library/dd378460(v=VS.85).aspx), there are some methods for doing this by using some VB scripts. Someone found a way of…
movi
  • 141
  • 2
  • 7
11
votes
1 answer

New instance on Taskbar middle-click / shift+click

In Windows 7, some programs allow the user to launch multiple instances by middle clicking / shift+clicking on the taskbar item (ex: Paint, Notepad, Visual Studio...) However, none of the applications I create exhibit this behavior. The middle click…
Sharpy
  • 113
  • 4
11
votes
1 answer

Windows 7 Taskbar Icons Highlight Color

Can anyone explain how to calculate the highlight color based on dominant color in images like Windows-7 taskbar when mouse is over the taskbar item? Any c# code?
Navid Rahmani
  • 7,848
  • 9
  • 39
  • 57
11
votes
5 answers

How do you show progress in the Taskbar with Winform C# 4.5

EDIT: I don't want it to update, change or go away. I ONLY want the taskbar to be at 40% to start the program, stay that way till it closes. I spent a lot of hours and tried many examples...but no luck. To keep it simple, how do you show 40% done…
Sparfy
  • 267
  • 1
  • 3
  • 13
10
votes
3 answers

Windows 7 taskbar icon grouping with multiple similar windows

When I have a number of similar windows opens, for example, multiple explorer windows, they are all grouped into the same icon on the taskbar. When I hover over this I get a thumbnail of the window, and a piece of truncated text which is supposed…
russ
  • 181
  • 1
  • 1
  • 10
10
votes
1 answer

How can I separate my Delphi Application's task bar caption from its main form caption?

I've noticed that my application title as shown on the task bar duplicates that displayed in the main form caption and has nothing to do with Application.Title. My main form caption is set programmatically with Caption := 'xxxx' and is something…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
10
votes
4 answers

Can task-switching keyboard shortcuts be disabled in W7 using Delphi?

MY application has had a mode for years where the customer can 'disable access to the OS'. Obviously this feature goes against the grain (at least as far as Windows is concerned) but there are installations where my App is the only program that…
Brian Frost
  • 13,334
  • 11
  • 80
  • 154
10
votes
4 answers

How do I ask Windows for the size of system tray icons?

I noticed that my app sends icons to the Windows tray with a size of 16x16 pixels--and my Vista PC I've got a doublewide taskbar that appears to show icons at 18x18. The resizing artifacts on my app's icon look awful. How can I ask Windows what…
keelo
  • 211
  • 1
  • 2
  • 6
10
votes
2 answers

Windows 7 taskbar progress works in one app but not another

I have two different applications, both native applications written in C++Builder 2009, both MDI, and both using the same progress bar utility code. One of them properly updates the Windows 7 taskbar with its progress. The other one doesn't. I…
Josh Kelley
  • 56,064
  • 19
  • 146
  • 246
10
votes
4 answers

C# - Get list of open tasks

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…
Joel
  • 16,474
  • 17
  • 72
  • 93
10
votes
2 answers

C# Showing Buttons on taskbar thumbnails

In WMP, I have been shown buttons on the taskbar thumbnail. How can I make them for my winforms app in C#?
Sri Harsha Chilakapati
  • 11,744
  • 6
  • 50
  • 91
10
votes
2 answers

Change Windows 7 taskbar location automatically based on screen shape or on docking status

Are the following things possible using VBScript or any other programming language: detect screen shape - or whether computer is docked change the Windows taskbar location What I am trying to achieve: My laptop has a 14" widescreen: pretty wide,…
Jean-François Corbett
  • 37,420
  • 30
  • 139
  • 188