Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Plugins/General/gen_ml/skinnedmenu.h

42 lines
1.0 KiB
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#ifndef NULLOSFT_MEDIALIBRARY_SKINNED_MENU_HEADER
#define NULLOSFT_MEDIALIBRARY_SKINNED_MENU_HEADER
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
#include <wtypes.h>
#include "./skinnedmenuthreadinfo.h"
class SkinnedMenu
{
public:
SkinnedMenu();
virtual ~SkinnedMenu(void);
public:
static HWND WindowFromHandle(HMENU menu);
public:
virtual BOOL InitializeHook(HWND hwndOwner, UINT skinStyle, HMLIMGLST hmlil, INT width, MENUCUSTOMIZEPROC customProc, ULONG_PTR customParam);
virtual BOOL TrackMenuPopupEx(HMENU hmenu, UINT fuFlags, INT x, INT y, HWND hwnd, LPTPMPARAMS lptpm, UINT skinStyle,
HMLIMGLST hmlil, INT width, MENUCUSTOMIZEPROC customProc, ULONG_PTR customParam);
protected:
virtual BOOL AttachToHwnd(HWND hwndMenu);
protected:
friend class SkinnedMenuThreadInfo;
protected:
HWND hwndOwner;
UINT skinStyle;
HMLIMGLST hmlil;
INT width;
MENUCUSTOMIZEPROC customProc;
ULONG_PTR customParam;
SkinnedMenuThreadInfo *threadInfo;
};
#endif // NULLOSFT_MEDIALIBRARY_SKINNED_MENU_HEADER