CFrameWnd::SetTaskbarOverlayIcon
Visual Studio 2012
Overloaded. Applies an overlay to a taskbar button to indicate application status or to notify the user.
BOOL SetTaskbarOverlayIcon( UINT nIDResource, LPCTSTR lpcszDescr ); BOOL SetTaskbarOverlayIcon( HICON hIcon, LPCTSTR lpcszDescr );