Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "GetSubMenu" in [All]

user32

.

Dim hwndSubmenu as intptr = GetSubMenu(hwndMenu,1) 'Get the SubMenuHandle to the visible MenuItem, in this case the second one (counting from zero)

.
Summary
.

static extern IntPtr GetSubMenu(IntPtr hMenu, int nPos);

.

Public Shared Function GetSubMenu(ByVal hMenu As IntPtr, ByVal nPos As Integer) As IntPtr

.

Dim hwndSubmenu as intptr = GetSubMenu(hwndMenu,1) 'Get the SubMenuHandle to the visible MenuItem, in this case the second one (counting from zero)

.

    private static extern IntPtr GetSubMenu(IntPtr hMenu, int nPos);

.

    IntPtr fileMenu = GetSubMenu(mainMenu, 0);

.
Documentation
[GetSubMenu] on MSDN

 
Access PInvoke.net directly from VS: