API call to replace taskbar icon

  • Thread starter Thread starter Carl Hartness
  • Start date Start date
C

Carl Hartness

I have the API calls to identify and replace the icon in the upper left
corner of the Excel application. What are the API calls to identify
and replace the icon in the taskbar button?
 
You may need to SHOW / HIDE the Excel Application to force it to
refresh

ShowWindow hdlXlMain, 0
SendMessage32 hdlXlMain, &H80, 1, hdlNewIcon
ShowWindow hdlXlMain, 5


API declaration for ShowWindow

Private Declare Function ShowWindow _
Lib "user32" ( _
ByVal hWnd As Long, _
ByVal nCmdShow As Long) _
As Long
 
I have the API calls to identify and replace the icon in the upper left
corner of the Excel application. What are the API calls to identify
and replace the icon in the taskbar button?

I figured out the API calls to change icons on the application and on
the taskbar, if anyone ever wants to know.

Carl.
 

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