From: River Ross on
Hi everybody,
Recently upgraded a project to VC7 and this seems to be the cause of a new
bug for us. We have a class derived from CFileDialog. In OnInitDone() we
do some customization but now:

pParentWnd->GetDlgItem(edt1);

doesn't seem to work anymore. the edt1 control is missing now?!

Anybody know the answer to this?


From: EdH on
River,
I have the same problem but found the cause. If you look at
ms-help://MS.VSCC.2003/MS.MSDNQTR.2005JAN.1033/winui/winui/windowsuserinterface/userinput/commondialogboxlibrary/aboutcommondialogboxes/openandsaveasdialogboxes.htm

That's my msdn help link. You can follow the htm to the correct article.
Anyways, edt1 does not exist anymore but replaced by cmb13.

Hope this helps

"River Ross" wrote:

> Hi everybody,
> Recently upgraded a project to VC7 and this seems to be the cause of a new
> bug for us. We have a class derived from CFileDialog. In OnInitDone() we
> do some customization but now:
>
> pParentWnd->GetDlgItem(edt1);
>
> doesn't seem to work anymore. the edt1 control is missing now?!
>
> Anybody know the answer to this?
>
>
>