Changing CButton Caption?
-
Hello, I now C++ pretty well but I'm a MFC beginner. I'm trying to learn it by myself. How can I change the caption of a button? How can I disable it? I looked into the CButton Class and I can't find how to change it :(( Anyone can answer this newbie question? (I wish this was as easy as VB) hehe Thanks
-
Hello, I now C++ pretty well but I'm a MFC beginner. I'm trying to learn it by myself. How can I change the caption of a button? How can I disable it? I looked into the CButton Class and I can't find how to change it :(( Anyone can answer this newbie question? (I wish this was as easy as VB) hehe Thanks
-
CButton is derived from CWnd, so you can call methods like SetWindowText to change the caption or EnableWindow() to enable/disable the window. Look at all the methods of CWnd which will show you what you can do. HTH Jignesh
-
Hello, I now C++ pretty well but I'm a MFC beginner. I'm trying to learn it by myself. How can I change the caption of a button? How can I disable it? I looked into the CButton Class and I can't find how to change it :(( Anyone can answer this newbie question? (I wish this was as easy as VB) hehe Thanks
-
Hello, I now C++ pretty well but I'm a MFC beginner. I'm trying to learn it by myself. How can I change the caption of a button? How can I disable it? I looked into the CButton Class and I can't find how to change it :(( Anyone can answer this newbie question? (I wish this was as easy as VB) hehe Thanks