Hallo,
I have a dialog box with a button and a text box and I want to be able to disable either control. By disable I mean make grey and unclickable.
I have the following code:
I can disable the Button with:
What's the code to disable m_DateAndTime?
Thanks in advance,
- Frink
I have a dialog box with a button and a text box and I want to be able to disable either control. By disable I mean make grey and unclickable.
I have the following code:
Code:
DDX_Control(pDX, IDC_RESETBN, m_ResetBn);
DDX_Control(pDX, IDC_DNT, m_DateAndTime);
I can disable the Button with:
Code:
m_ResetBn.EnableWindow(false);
What's the code to disable m_DateAndTime?
Thanks in advance,
- Frink