I know we can enumerate the windows controls with in the dialog and using the callback we can collect the windows controls.
I am looking for specific way to filtering out the controls based on interface implementation. For example, If the Active-X controls derives from interface IDataControl, I want that to add to my interest collection list.
Here is the generic process to get the ole/active-x controls inside the dialog.
Try to get IUnknown pointer for the control CWnd::GetControlUnknown
Tips: How to detect whether a control is standard or active-x control?
If returned IUnknown is not null, do queryInterface for IDataControl.