Working with the taskbar
-
I am trying to develop an application, regardless of it's function i need to do one thing. On the task bar, buttons representing the programs resize between two points, usually between the end of the start button (or quick launch) and the start of the tray (or language bar). What i want to be able to do is change these points, particularly the right most point, so that buttons resize between the left point and another point, leaving an unused space on the taskbar. This may be a registry key or something, i have tried many google searches including those around desk bands but have not found exactly what i'm looking for. If anyone has any idea if this is even possible or has any experience in this field, please reply, think this is about the fourth time i've asked this with no response, even a simple, "it might not be possible" would be nice. If a deskband is the only option can someone point me in a direction other than this site, cause the C# example here is laced with frustrating glitches.
Please check out my articles: The ANZAC's articles
-
I am trying to develop an application, regardless of it's function i need to do one thing. On the task bar, buttons representing the programs resize between two points, usually between the end of the start button (or quick launch) and the start of the tray (or language bar). What i want to be able to do is change these points, particularly the right most point, so that buttons resize between the left point and another point, leaving an unused space on the taskbar. This may be a registry key or something, i have tried many google searches including those around desk bands but have not found exactly what i'm looking for. If anyone has any idea if this is even possible or has any experience in this field, please reply, think this is about the fourth time i've asked this with no response, even a simple, "it might not be possible" would be nice. If a deskband is the only option can someone point me in a direction other than this site, cause the C# example here is laced with frustrating glitches.
Please check out my articles: The ANZAC's articles
The ANZAC wrote:
This may be a registry key or something,
No, it's not. The TaskBar is made up of DeskBands between the Start button and the System Tray. Actually, the try is another type of DeskBand. The QuickLaunch icons sit on a DeskBand. The appication icons sit in another DeskBand. If you added something else to the TackBar, it goes on another DeskBand. My point is that the DeskBands are self sizing, relative to the other DeskBands. The "start point" and "end point" are the ends of the bars themselves, not points on the TaskBar between which icons sit. In order to resize this area, you have to resize the DeskBand, within the limitations set by the DeskBand. For instance, with just the default DeskBand's on the TaskBar, you cannot move the right side of the application icon DeskBand. It's locked to the left side of the System Tray. You also cannot resize the SystemTray either. You can only move the right side of the application icon DeskBand. The only way to move the right side of the application icon DeskBand is to add another DeskBand between the application icon DeskBand and the System Tray, and resize that band appropriately. I don't have any examples, not do I know of any "good" ones. It's just going to take some research on your part to find them. I'd start with Googling "C# DeskBand".
The ANZAC wrote:
think this is about the fourth time i've asked this with no response,
This is probably due to the fact that not very many people have any experience with the TaskBar. Support on this issue is going to be very sparse, no matter where you go.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
The ANZAC wrote:
This may be a registry key or something,
No, it's not. The TaskBar is made up of DeskBands between the Start button and the System Tray. Actually, the try is another type of DeskBand. The QuickLaunch icons sit on a DeskBand. The appication icons sit in another DeskBand. If you added something else to the TackBar, it goes on another DeskBand. My point is that the DeskBands are self sizing, relative to the other DeskBands. The "start point" and "end point" are the ends of the bars themselves, not points on the TaskBar between which icons sit. In order to resize this area, you have to resize the DeskBand, within the limitations set by the DeskBand. For instance, with just the default DeskBand's on the TaskBar, you cannot move the right side of the application icon DeskBand. It's locked to the left side of the System Tray. You also cannot resize the SystemTray either. You can only move the right side of the application icon DeskBand. The only way to move the right side of the application icon DeskBand is to add another DeskBand between the application icon DeskBand and the System Tray, and resize that band appropriately. I don't have any examples, not do I know of any "good" ones. It's just going to take some research on your part to find them. I'd start with Googling "C# DeskBand".
The ANZAC wrote:
think this is about the fourth time i've asked this with no response,
This is probably due to the fact that not very many people have any experience with the TaskBar. Support on this issue is going to be very sparse, no matter where you go.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007yeh pretty frustrating. That's a decent answer thankyou. Finally someone responds. Ok will get into the research more, it's not an easy thing to track down and kill tho, a decent desk band sample that is. They are very sparse, evin in the more complex language forms, and virtually none exist in vb except for people suggesting a conversion of some dodgy c# one. Thanks again.
Please check out my articles: The ANZAC's articles