Re: how to enable a control at run time

Tech-Archive recommends: Fix windows errors by optimizing your registry



Oh okay, I did not see that one. I was looking for just enable or visible. Thanks.

	Z.K.

Ajay Kalra wrote:
Use EnableWindow:

ASSERT_VALID(pMyControl);
pMyControl->EnableWindow();

More here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_cwnd.3a3a.enablewindow.asp

---------
Ajay Kalra
ajaykalra@xxxxxxxxx

.