|
-
August 24th, 1999, 06:48 AM
#1
disable MenuItems in CDialog
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|