ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   API call to replace taskbar icon (https://www.excelbanter.com/excel-programming/382060-api-call-replace-taskbar-icon.html)

Carl Hartness[_2_]

API call to replace taskbar icon
 
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?


[email protected]

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?



Carl Hartness[_2_]

API call to replace taskbar icon
 
On Jan 27, 4:56 am, "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?


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

Carl.



All times are GMT +1. The time now is 03:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com