CLSID_FileOpenDialog where is it in the registry? Is it comdlg32? ICommDlgBrowser? CIDopen? or something else?

ellieorange 21 Reputation points
2022-09-12T21:48:14.783+00:00

I would like to create a custom common item dialog (CID) and then register my custom COM:

But I am confused about the CID COM object. I want to see the existing COM object before I make a custom one.

I found comdlg32 in the registry but I think that is the legacy (pre-Vista) dialog.
HKEY_CLASSES_ROOT\CLSID{725F645B-EAED-4fc5-B1C5-D9AD0ACCBA5E}\InProcServer32
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{725F645B-EAED-4fc5-B1C5-D9AD0ACCBA5E}\InProcServer32

I found ICommDlgBrowser but that's an interface, not a COM?
HKEY_CLASSES_ROOT\Interface{000214F1-0000-0000-C000-000000000046}
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface{000214F1-0000-0000-C000-000000000046}

I thought the new one is CIDOpen, but I can't find a CLSID in the registry, rather this is what I find:
HKEY_USERS\S-1-5-21-1285309903-269343738-3178715341-1001\Software\Microsoft\Windows\CurrentVersion\Explorer\CIDOpen

This is the documentation for customization: https://learn.microsoft.com/en-us/windows/win32/shell/common-file-dialog but my question is about finding the CID COM object in the registry.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,412 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,458 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Junjie Zhu - MSFT 14,366 Reputation points Microsoft Vendor
    2022-09-13T03:22:56.67+00:00

    Hello @ellieorange ,
    Welcome to Microsoft Q&A!

    CLSID_FileOpenDialog at this location (File Open Dialog) in the registry.

    Computer\HKEY_CLASSES_ROOT\CLSID\{DC1C5A9C-E88A-4dde-A5A1-60F82A20AEF7}  
    

    240323-microsoftimage-2.png

    You can see CLSID_FileOpenDialog in <ShObjIdl_core.h>

    EXTERN_C const CLSID CLSID_FileOpenDialog;  
      
    #ifdef __cplusplus  
      
    class DECLSPEC_UUID("DC1C5A9C-E88A-4dde-A5A1-60F82A20AEF7")  
    FileOpenDialog;  
      
    #endif  
    

    Thank you.
    Junjie


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments