Im new to VC++ and I've been wondering how you can enable\disable a button at runtime. For example I would like to disable a button(I'm not talking about a toolbar button) when a text box is blank and enable it when a user enters text (like the Run program in the start menu). I think that it has something to do with the EnableButton function, but im not really sure. Thanks for the help.