Wednesday, December 30, 2009

How do i change the label caption during runtime in c++.net?

I have been using vb to program for the last couple years, now i want to upgrade to C++. I am finding it very frustrating to find resources on using c++.net 2008. I would like to know, after many hours of searching, how do i change the caption of my label. In vb, it was very easy. I just label1.caption = ';rejoice at the simplicity';. Hopefully i don't have to declare all the variables in the world around me before i can do this in c++.


I have seen some label1-%26gt;caption = ';'; code, but it doesnt work in my program.


Specifically, i would like to know where to put the code, and what i have to do before it works. I am making a form application.


HELP!How do i change the label caption during runtime in c++.net?
I'd reccomend you go through the following lessons to get answer of this and subsequent questions:





http://functionx.com/vcnet/Lesson01.htm

No comments:

Post a Comment