How can I enable a button once some event has occurred?
Like that, initially the button is disabled. The user inputs a value in an edit box and the button becomes 'press-able'.
Thanks! Avendeval
assuming that you use the MFC, you could simply catch the EN_CHANGE notification from your edit control (using the class wizard), which contains code like this:
CString strTest;
m_edtInput.GetWindowText(strTest); // or use a string-member
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.