Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//____________________________________________________________________________
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1995 - 1996.
//
// File: JobIcons.hxx
//
// Contents:
//
// Classes:
//
// Functions:
//
// History: 4/5/1996 RaviR Created
//
//____________________________________________________________________________
class CJobIcon { public:
CJobIcon(void);
~CJobIcon(void) { if (m_himlSmall) ImageList_Destroy(m_himlSmall); if (m_himlLarge) ImageList_Destroy(m_himlLarge); }
HICON OverlayStateIcon(HICON hicon, BOOL fEnabled, BOOL fLarge = TRUE);
void GetIcons(LPCTSTR pszApp, BOOL fEnabled, HICON *phiconLarge, HICON *phiconSmall);
void GetTemplateIcons(HICON *phiconLarge, HICON *phiconSmall);
private:
void _OverlayIcons( HICON * phiconLarge, HICON * phiconSmall, BOOL fEnabled);
HIMAGELIST m_himlSmall; HIMAGELIST m_himlLarge; };
HICON GetDefaultAppIcon( BOOL fLarge);
|