Hi,

I have a CDialog who has a menu IDR_MAINFRAME.
I want to disable some menu items at the beginning.
I used GetDlgItem(ID_EDIT); to get a CWnd* for the enableWindow-function,
but I get a NULL pointer back (I included also resource.h in the header file)

What's wrong ?

Thanx,
Grit