mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-19 19:25:52 +01:00
25 lines
661 B
C++
25 lines
661 B
C++
#include "main.h"
|
|
#include "./menu.h"
|
|
#include "./resource.h"
|
|
#include "../gen_ml/ml_ipc_0313.h"
|
|
|
|
INT Menu_TrackPopup(HMENU hMenu, UINT fuFlags, INT x, INT y, HWND hwnd, LPTPMPARAMS lptpm)
|
|
{
|
|
if (NULL == hMenu)
|
|
return NULL;
|
|
|
|
MLSKINNEDPOPUP popup;
|
|
ZeroMemory(&popup, sizeof(MLSKINNEDPOPUP));
|
|
popup.cbSize = sizeof(MLSKINNEDPOPUP);
|
|
popup.hmenu = hMenu;
|
|
popup.fuFlags = fuFlags;
|
|
popup.x = x;
|
|
popup.y = y;
|
|
popup.hwnd = hwnd;
|
|
popup.lptpm = lptpm;
|
|
popup.skinStyle = SMS_USESKINFONT/*SMS_SYSCOLORS*/;
|
|
popup.customProc = NULL;
|
|
popup.customParam = 0;
|
|
|
|
return (INT)SENDMLIPC(plugin.hwndLibraryParent, ML_IPC_TRACKSKINNEDPOPUPEX, &popup);
|
|
} |