Hello,

I have an application that Opens files with different extensions for viewing purposes only

I use MFC with Multi-Document template.

When I go to Windows Explorer in Windows 7 and right-click on Libraries - Documents, and scroll down to New, Explorer shows multiple links for creating new files with these different extensions.

My application does not create New documents. It just opens them for viewing purposes. In fact, I have disabled the New portion of the mainframe window.

My code includes:
EnableShellOpen();
RegisterShellFileTypes(TRUE);

I am at a loss as to what portion of my code would have placed these links into Windows Explorer!

Is there any way to prevent them from being created in the first place?

Thanks.