Hi, I am now writing an ActiveX control and want it to handle files with a context menu as windows95 explorer does.

I found some sample codes authored by Jeff Prosise in MSDN, it works fine in a dialog box but acts differently in an ActiveX control. The popup menu displayed but they are all DISABLED!

Why? Can anyone help me? Thanx.