Reputation: 12128
I want to make an EditBox disappear completely when the user selects a particular iption, instead of just graying it out. I tried using EnableWindow(false), but that just grays it out. I want the user to not see the control at all...can anyone help, or is this not possible in MSVC 2008 ?
Upvotes: 2
Views: 105
Reputation: 12391
Try something m_EditBoxCtrl.ShowWindow(FALSE);
And by the way, google answers more faster on such kind of questions. :)
Good luck!
Upvotes: 2
Reputation: 8738
Have you tried ShowWindow?:
shan23EditBox.ShowWindow(FALSE);
Upvotes: 2