Hello Everyone:
I have an ATL COM application. I created a dialog box (modal) that host ActiveX control (implementing class CAxDialogImpl). I tried to do disable buttons in the dialog like this:
HWND hwDeleteButton = GetDlgItem(IDC_DELETEBUTTON);
hwDeleteButton ->EnableWindow(FALSE);
I got “error C2039: 'EnableWindow' : is not a member of 'HWND__'”
I also got compiler complaint when using BOOL EnableWindow( HWND hWnd, BOOL bEnable );
Thank you for your help.
I have an ATL COM application. I created a dialog box (modal) that host ActiveX control (implementing class CAxDialogImpl). I tried to do disable buttons in the dialog like this:
HWND hwDeleteButton = GetDlgItem(IDC_DELETEBUTTON);
hwDeleteButton ->EnableWindow(FALSE);
I got “error C2039: 'EnableWindow' : is not a member of 'HWND__'”
I also got compiler complaint when using BOOL EnableWindow( HWND hWnd, BOOL bEnable );
Thank you for your help.