Thumbnail Preview Title Icon

Pedro Gil 35 Reputation points
2024-07-23T13:44:15.57+00:00

Is it possible to customize/modify the icon showed in the title bar of a thumbnail? For example, if a window doesn't have an icon in the title bar, its thumbnail does display an icon... the standard application icon (please see attachments). Is there any way to use the Windows API to change such an icon, not in the window title bar but on the thumbnail? Thank you very much.

Window Title Icon.png

Thumbnail Title Icon.png

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,650 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,757 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 85,711 Reputation points
    2024-07-23T16:56:14.4266667+00:00

    A way is to use a custom caption (DWM) and send WM_SETICON (ICON_SMALL) for the Taskbar icon

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.