Changing a form's icon in the taskbar (not systray)

P

Patrick Pirtle

The application I'm writing a vba for opens two application
windows--each with its own button on the task bar. By
default, each of the task bar buttons has either "(1)" or
"(2)" appended. However, I can't see this, because the
title is too long. And, the task bar icons are the same.

I'd like to use API functions to change the icon on one or
both of the task bar buttons. I know how to find the ID
of them, I just need to swap out one of the icons.

I've spent the morning unsuccessfully trying to find this
information. TIA for any help or suggestions you can offer.
 

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

Top