Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to make a mfc window program, and then after the window is minimized, move the mouse to the program icon on the taskbar, the program thumbnail will be displayed, and at the top of the thumbnail, the font information will be displayed. Now I don’t know which mfc class to use


What I have tried:

The program is not activated, move the mouse to the program icon in the taskbar, which class of MFC to use, and display text information at the top of the thumbnail
Posted
Updated 6-Aug-20 22:31pm

1 solution

You can use the IsIconic function (winuser.h) - Win32 apps | Microsoft Docs[^] to test if the Window is minimized. You should then be able to get information that will help you create a second thumbnail window to display your extra information.
 
Share this answer
 
Comments
ZhuTaiYong 8-Aug-20 11:38am    
thank you but i just want show text on the top of thumbnail like you move mouse to google icon at windows bottom taskbar . you can see some text info at the top of thumbnai.
Richard MacCutchan 8-Aug-20 12:09pm    
Well that is a different question. I guess you have to use something like EnumWindows function (winuser.h) - Win32 apps | Microsoft Docs[^]. See how to get the handle of all activated window in taskbar?[^].
ZhuTaiYong 9-Aug-20 21:52pm    
Thank you very much.I know the function of enumwindows now .but i just want show text information at the top of Window program thumbnail . when you move mouse to the Program icon at taskbar.Thank you very much

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900