how to enable an edit box?
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
I disabled my edit box in my dialog but i wish to enable it later on when a check box is checked. How do i code it? i tried: if(m_check==TRUE){ m_edit.EnableWindow(TRUE)} but cannot work.
Remember to call
UpdateData()
first so thatm_check
contains the current status of the check box.Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"