API call to replace taskbar icon
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
On Jan 27, 11:56 pm, "Carl Hartness" wrote:
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?
|