Unicode Controls & Classes for VB6 - Version 4

ctlUniMenu.Attach Method

Starts the custom menu management by the control, you can optionally refresh the menubar if you specify a custom color for it in the control properties

Syntax
Public Sub Attach (ByVal lHwnd As Long, _
Optional ByVal bRedrawMenuBar As Boolean = False)
Parameters
Parameter Description
ByVal lHwnd As Long The window with the menu to manage, usually (Me.hWnd)
Optional ByVal bRedrawMenuBar As Boolean = False If True the menubar is refreshed
Remarks