menu.cpp 604 B

1234567891011121314151617181920
  1. #include "menu.h"
  2. INT Menu_TrackPopupParam(HWND library, HMENU hMenu, UINT fuFlags, INT x, INT y, HWND hwnd, LPTPMPARAMS lptpm, ULONG_PTR param)
  3. {
  4. if ( hMenu == NULL )
  5. return NULL;
  6. MLSKINNEDPOPUP popup = {0};
  7. popup.cbSize = sizeof(MLSKINNEDPOPUP);
  8. popup.hmenu = hMenu;
  9. popup.fuFlags = fuFlags;
  10. popup.x = x;
  11. popup.y = y;
  12. popup.hwnd = hwnd;
  13. popup.lptpm = lptpm;
  14. popup.skinStyle = SMS_USESKINFONT;
  15. popup.customParam = param;
  16. return (INT)SENDMLIPC( library, ML_IPC_TRACKSKINNEDPOPUPEX, &popup );
  17. }