Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
26
Src/Plugins/General/gen_ml/skinning.h
Normal file
26
Src/Plugins/General/gen_ml/skinning.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef NULLOSFT_MEDIALIBRARY_SKINNING_HEADER
|
||||
#define NULLOSFT_MEDIALIBRARY_SKINNING_HEADER
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <wtypes.h>
|
||||
|
||||
typedef LPVOID HMLIMGLST;
|
||||
typedef INT (CALLBACK *MENUCUSTOMIZEPROC)(INT /*action*/, HMENU /*hMenu*/, HDC /*hdc*/, LPARAM /*param*/, ULONG_PTR /*user*/);
|
||||
|
||||
BOOL SkinWindow(HWND hwndToSkin, UINT style);
|
||||
BOOL SkinWindowEx(HWND hwndToSkin, INT type, UINT style);
|
||||
BOOL UnskinWindow(HWND hwndToUnskin);
|
||||
BOOL TrackSkinnedPopupMenuEx(HMENU hmenu, UINT fuFlags, INT x, INT y, HWND hwnd, LPTPMPARAMS lptpm,
|
||||
HMLIMGLST hmlil, INT width, UINT skinStyle, MENUCUSTOMIZEPROC customProc, ULONG_PTR customParam);
|
||||
|
||||
BOOL IsSkinnedPopupEnabled(BOOL fIgnoreCache);
|
||||
BOOL EnableSkinnedPopup(BOOL fEnable);
|
||||
|
||||
// you can call this from WM_CONTEXTMENU
|
||||
HANDLE InitSkinnedPopupHook(HWND hwndOwner, HMLIMGLST hmlil, INT width, UINT skinStyle, MENUCUSTOMIZEPROC customProc, ULONG_PTR customParam);
|
||||
void RemoveSkinnedPopupHook(HANDLE hPopupHook);
|
||||
|
||||
#endif //NULLOSFT_MEDIALIBRARY_SKINNING_HEADER
|
Loading…
Add table
Add a link
Reference in a new issue