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 "SetMenu" in [All]

ole32

Enums

.

    /// An application sends the WM_MDISETMENU message to a multiple-document interface (MDI) client window to replace the entire menu of an MDI frame window, to replace the window menu of the frame window, or both.

.

    MDISETMENU = 0x0230,

.

    '''An application sends the WM_MDISETMENU message to a multiple-document interface (MDI) client window to replace the entire menu of an MDI frame window to replace the window menu of the frame window or both.

.

    WM_MDISETMENU = &H230

Constants

3: WM
.
WM_MDISETMENU 0x230 An application sends the WM_MDISETMENU message to a multiple-document interface (MDI) client window to replace the entire menu of an MDI frame window, to replace the window menu of the frame window, or both.
.

private const UInt32 WM_MDISETMENU         = 0x0230;

.

   WM_MDISETMENU = &H230

.

WM_MDISETMENU         equ 230h

Interfaces

.

    void SetMenuSB(IntPtr IntPtrShared, IntPtr holemenuRes,

user32

.

    internal static extern int SetMenuItemBitmaps(HMenu hmenu, int nPosition, MFMENU uflags, IntPtr hBitmapUnchecked, IntPtr hBitmapChecked);

.
Summary
.

static extern bool SetMenuItemInfo(IntPtr hMenu, uint uItem, bool fByPosition,

.

Public Declare Function SetMenuItemInfo Lib "user32" (ByVal hMenu As IntPtr, ByVal uItem As uint, ByVal fByPosition As Boolean, ByRef lpmii As MENUITEMINFO) As Boolean

.
Documentation
[SetMenuItemInfo] on MSDN
.
Summary
.

static extern bool SetMenuInfo(IntPtr hmenu, [In] ref MENUINFO lpcmi);

.
Documentation
[SetMenuInfo] on MSDN
.
Summary
.

static extern bool SetMenuItemBitmaps(IntPtr hMenu, uint uPosition,

.

        public static extern int SetMenuItemBitmaps(IntPtr hMenu, IntPtr nPosition, int wFlags, IntPtr hBitmapUnchecked, IntPtr hBitmapChecked);

.

            return  SetMenuItemBitmaps(mi.Parent.Handle,(IntPtr) mi.Index,MF_BYPOSITION,intp,intp);

.
Documentation
[SetMenuItemBitmaps] on MSDN
.
Summary
.

static extern bool SetMenuItemInfo(IntPtr hMenu, uint uItem, bool fByPosition,

.

Public Declare Function SetMenuItemInfo Lib "user32" (ByVal hMenu As IntPtr, ByVal uItem As uint, ByVal fByPosition As Boolean, ByRef lpmii As MENUITEMINFO) As Boolean

.
Documentation
[SetMenuItemInfo] on MSDN

 
Access PInvoke.net directly from VS: