I want to disable an editbox based on other variables on the fly
Printable View
I want to disable an editbox based on other variables on the fly
Use GetDlgItem( IDC_EDIT )->EnableWindow( FALSE )
1st
Hello,
What you need to do is:
1. Get a pointer to the Edit control using GetDlgItem(nCtrlID) function.
2. Call the EnableWindow function for that control pointer.