mirror of https://github.com/tongzx/nt5src
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.
53 lines
1.0 KiB
53 lines
1.0 KiB
//____________________________________________________________________________
|
|
//
|
|
// 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);
|
|
|