TaskBar Items

  • Thread starter Thread starter GVN
  • Start date Start date
G

GVN

Hi,

I wan't to write C# Windows application which returns the names of
the items available in Windows taskbar. Can anyone help me in this
regard?


Thanks,
GVN.
 
GVN,

The area of the taskbar that holds the buttons is a ToolBarWindow32
window class. You can use the FindWindow API function (through P/Invoke) to
get the handle of the window, and then send the TB_GETBUTTON message to the
window to get the button information. You can increment the index for the
item you are requesting until it gives you an error.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top