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 ?
views:
29answers:
2
+2
A:
Have you tried ShowWindow?:
shan23EditBox.ShowWindow(FALSE);
David Relihan
2010-05-15 11:27:16
technically, `shan32EditBox.ShowWindow(SW_HIDE);`
djeidot
2010-05-17 15:47:10
+2
A:
Hi.
Try something m_EditBoxCtrl.ShowWindow(FALSE);
And by the way, google answers more faster on such kind of questions. :)
Good luck!
mosg
2010-05-15 11:27:32
Blv me, i tried googling, but apparently my search strings were not good enough :) . Btw, StackOverflow is faster than google as I'm finding now , thanks to u guys !!
shan23
2010-05-15 11:37:36