How do I debug an edit window at runtime (NOT gray) in MSVC 2008 using MFC?

I want the EditBox to disappear completely when the user selects a specific iption instead of just seeding it. I've tried using EnableWindow (false), but that just crosses it out. I want to prevent the user from seeing the control at all ... can anyone help or is this not possible in MSVC 2008?

+2


a source to share


2 answers


Have you tried ShowWindow ?:



shan23EditBox.ShowWindow(FALSE);

      

+2


a source


Try something m_EditBoxCtrl.ShowWindow (FALSE);

And by the way, Google answers questions like this faster. :)



Good luck!

+2


a source







All Articles