Newsflash

Add your items to Windows Explorer Shell context menu - it never was easier: Windows Explorer Shell Context Menu v7.14 was released

Read more...
 

Full Vista support appended

Read more...
 
Home arrow Archive arrow CreateMenu Context Menu Function
CreateMenu Context Menu Function PDF Print E-mail

CreateMenu Context Menu Function

The CreateMenu function creates a Windows Explorer Shell context menu. The menu is initially empty, but it can be filled with menu items by using the InsertMenuItem, AppendMenu, and InsertMenu functions.


Syntax

    HMENU CreateMenu(VOID);

Insert items to Windows Explorer context (right-click) menu easily – How to add ?

 

 

 Add an item to Windows Explorer Shell context menu with the Explorer Context Menu

 

  Add an item to Windows Explorer Shell context menu easily with Windows Explorer Shell Context Menu. This powerful .Net component for your own, custom items adding to Windows Explorer Shell context menu will add all your custom application items to the Windows Explorer Shell context menu. This .Net component with full C# and Visual Basic .NET support include detailed C# and VB.NET samples, tutorials and support all you may need to add your items to context menu :

  • Add all your items to Windows Explorer Shell context menu to be shown on any Windows OS (all operating systems are supported – XP, Vista, x64 of all types , etc.)
  • Add any type of items to Windows Explorer Shell context menu to be shown in any way - with your custom caption and your custom icon, as separator or sub-menu
  • Add items to Windows Explorer Shell context menu to be shown for all types of files or shown only for files of particular type (for example, only for .DOC , .MP3,.WMA,.AAC , .WMV media files)
  • Add items to Windows Explorer Shell context menu, sub-menus, sub-sub-menus, sub-menus of unlimited depth and even much more


Explorer Shell Context Menu - is a .Net framework component that support all you may need to insert all your program items to the Windows Explorer Shell context menu - in a fast and a very easy way. Add your program items to Windows Explorer Shell context menu right now – add entries to context menu fast , easy and exactly as you prefere :

 Add items To the Explorer Shell Context Menus in a very easy way with Explorer Context Menu

 

CreateMenu Function Description

CreateMenu is a special custom items to Explorer file menu appending finction used on old Windows editions. CreateMenu function works only for Windows 95 / Windows 98 (not on XP, Vista, x64 - 64-bit Windows), so if you want to add items to Explorer context menu you should use, according to Microsoft guidelines, appropriate .Net component - Explorer Context Menu. Want to add custom context menu items to Explorer right-click context menu? Then you need Windows Context Menu .Net component - it will add item of any type to Explorer Shell context menu exactly as you want.

 

Return Value

    If the function succeeds, the return value is a handle to the newly created menu.

    If the function fails, the return value is NULL. To get extended error information, call GetLastError.


Remarks

    Resources associated with a menu that is assigned to a window are freed automatically. If the menu is not assigned to a window, an application must free system resources associated with the menu before closing. An application frees menu resources by calling the DestroyMenu function.

    Windows 95/98/Me: The system can support a maximum of 16,364 menu handles.


Function Information

    Minimum DLL Version    user32.dll
    Header    Declared in Winuser.h, include Windows.h
    Import library    User32.lib
    Minimum operating systems    Windows 95, Windows NT 3.1
    Unicode    Implemented as Unicode version.

 
< Prev   Next >
© 2010 Add items to context menu, add entries, add programs and commands -
Easily with Windows Explorer Shell Context Menu .NET Component (C#, VB, C++, VB.NET).
All product and company names are trademarks or registered trademarks of their respective owners.