Thanks for the reply.
Doesn't the Object Browser get its information from metadata in the assembly? It seems to be consistent with the doc you linked to:
Parameters
WindowFilter
Type: EnvDTE.Window
Optional. If supplied, window events occur only for the specified Window.
Reflector reports the same: parameter is optional, default is null.
Anyway, trying to pass a parameter:
EnvDTE::WindowEvents ^we = events->WindowEvents(0);
1>Compiling...
1>Connect.cpp
1>.\Connect.cpp(27) : error C2660: 'EnvDTE::Events::WindowEvents::get' : function does not take 0 arguments
EnvDTE::WindowEvents ^we = events->WindowEvents(nullptr);
1>Compiling...
1>Connect.cpp
1>.\Connect.cpp(27) : error C2660: 'EnvDTE::Events::WindowEvents::get' : function does not take 0 arguments
Is there a possible compiler setting problem?