Re: Replace context menus - WeOnlyDo Discussion board

Re: Replace context menus (General questions)

by Sascha, Friday, October 29, 2004, 16:51 (7328 days ago) @ wodSupport

No Problem [:smile:] (and thanks for the quick response)

I've found the following in your VB ActiveX Sample 2 after automatic conversion from Visual Studio .NET:

[code]
Dim m As Integer

m = GetMenu(Me.Handle.ToInt32)
m = GetSubMenu(m, 0)
eventArgs.Menu = m
eventArgs.HWND = Me.Handle.ToInt32
[/code]

All I get is a 'Hello from menu' which is exactly what is defined for the Background_menu.


Complete thread: