Control Enabled or Not
-
Friends, I want to programatically determine whether the control is currently enabled or not. E.g I dropped an edit box on a dialog. The object is
m_myeditBox
. In OnInitDialog() i made edit box, disabled by usingm_myEditBoc.EnableWindow(FALSE)
. Later in the program i want to determine whether the control represented bym_myEditBox
is currently enabled or not. How can i do so Imtiaz -
Friends, I want to programatically determine whether the control is currently enabled or not. E.g I dropped an edit box on a dialog. The object is
m_myeditBox
. In OnInitDialog() i made edit box, disabled by usingm_myEditBoc.EnableWindow(FALSE)
. Later in the program i want to determine whether the control represented bym_myEditBox
is currently enabled or not. How can i do so ImtiazTry
m_myEditx.IsWindowEnabled()
that should return the information you want. Mike