Hi,

I must say I am rather confused with this parent-child relationship here. Yes, you are right that stc32 is a child control of my dialog. However, I believe (edt1), (stc3), (cmb1), (stc2) etc. are the control IDs of CFileDialog. As I can hide them in my first use of the CFileDialog. Somehow, CFileDialog is the 'parent' of my dialog, it follows that these things, e.g. edt1, should not be the children of my dialog, but rather brother and sisters. Am I going crazy ? If these CFileDialog control are really children of my dialog, please tell me how to access them.

As I tried to HideControl() them as the first case but they are 'undeclared identifers', when I compile.

Thanks in advance.

Will