Problem disabling Controls in Win 2k
-
I wrote a program with CFormViews containing several controls (CButtons, CEdit...) On certain events I enable or disable them using: GetDlgItem(IDC_WHATEVER)->EnableWindow(TRUE); or GetDlgItem(IDC_WHATEVER)->EnableWindow(FALSE); it works perfectly fine in Win 98 but wouldn't work in Win 2000, Controls just refuse to become gray and deactivated I've got ServicePack 5 installed and I've tried it on several Computers but with no success. What could be wrong?? Thanks in advance, Semlo
-
I wrote a program with CFormViews containing several controls (CButtons, CEdit...) On certain events I enable or disable them using: GetDlgItem(IDC_WHATEVER)->EnableWindow(TRUE); or GetDlgItem(IDC_WHATEVER)->EnableWindow(FALSE); it works perfectly fine in Win 98 but wouldn't work in Win 2000, Controls just refuse to become gray and deactivated I've got ServicePack 5 installed and I've tried it on several Computers but with no success. What could be wrong?? Thanks in advance, Semlo
Are you sure the error is there? Maybe some other obscure problem is causing this. try debugging and trace through the valid code areas. If still unsuccessful, try posting some code snippets Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut
-
Are you sure the error is there? Maybe some other obscure problem is causing this. try debugging and trace through the valid code areas. If still unsuccessful, try posting some code snippets Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut