Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
25
Src/Plugins/Library/ml_disc/menu.cpp
Normal file
25
Src/Plugins/Library/ml_disc/menu.cpp
Normal file
|
@ -0,0 +1,25 @@
|
|||
#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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue