Re: Replace context menus (General questions)

by Sascha, (7489 days ago) @ Jasmine

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.

locked

Complete thread: