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.

53 lines
1.0 KiB

  1. //____________________________________________________________________________
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1995 - 1996.
  5. //
  6. // File: JobIcons.hxx
  7. //
  8. // Contents:
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: 4/5/1996 RaviR Created
  15. //
  16. //____________________________________________________________________________
  17. class CJobIcon
  18. {
  19. public:
  20. CJobIcon(void);
  21. ~CJobIcon(void) {
  22. if (m_himlSmall) ImageList_Destroy(m_himlSmall);
  23. if (m_himlLarge) ImageList_Destroy(m_himlLarge);
  24. }
  25. HICON OverlayStateIcon(HICON hicon, BOOL fEnabled, BOOL fLarge = TRUE);
  26. void GetIcons(LPCTSTR pszApp, BOOL fEnabled,
  27. HICON *phiconLarge, HICON *phiconSmall);
  28. void GetTemplateIcons(HICON *phiconLarge, HICON *phiconSmall);
  29. private:
  30. void
  31. _OverlayIcons(
  32. HICON * phiconLarge,
  33. HICON * phiconSmall,
  34. BOOL fEnabled);
  35. HIMAGELIST m_himlSmall;
  36. HIMAGELIST m_himlLarge;
  37. };
  38. HICON
  39. GetDefaultAppIcon(
  40. BOOL fLarge);