Initial community commit

This commit is contained in:
Jef
2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit f2d940131e
16886 changed files with 4659320 additions and 2 deletions

18
Src/nu/menuHelpers.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef NULLOSFT_MENUHELPERS_HEADER
#define NULLOSFT_MENUHELPERS_HEADER
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
#include <wtypes.h>
INT MenuHelper_CopyMenuEx(HMENU hDest, INT iDstStart, HMENU hSource, INT iSrcStart, INT iSrcCount);
INT MenuHelper_CopyMenu(HMENU hDest, INT iDstStart, HMENU hSource);
HMENU MenuHelper_DuplcateMenu(HMENU hMenu);
INT MenuHelper_InsertSeparator(HMENU hMenu, INT iPos);
void MenuHelper_RemoveRange(HMENU hMenu, UINT min, UINT max);
void MenuHelper_EnableGroup(HMENU hMenu, UINT *pszItems, INT cchItems, BOOL fByPos, BOOL bEnable);
BOOL MenuHelper_GetMenuItemPos(HMENU hMenu, UINT itemId, INT *pPos);
#endif // NULLOSFT_MENUHELPERS_HEADER