Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Working with the taskbar

Working with the taskbar

Scheduled Pinned Locked Moved Visual Basic
csharpcomwindows-admintoolstutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    The ANZAC
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • T The ANZAC

      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

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      T 1 Reply Last reply
      0
      • D Dave Kreskowiak

        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

        T Offline
        T Offline
        The ANZAC
        wrote on last edited by
        #3

        yeh 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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups