G
Geoff Cox
Hello,
I am using Visual C++ 2005 Express Beta 2 and cannot sort out how to
use the Scroll property value for a trackBar.
Under Event properties the name for the Scroll property is
trackBar1_Scroll so how do I print out the Scroll value?
I have tried using
Console::WriteLine(trackBar1_Scroll.Value);
but get error message
error C2228: left of '.Value' must have class/struct/union
if I use
Console::WriteLine(trackBar1_Scroll->Value);
I get
error C2228: left of '.Value' must have class/struct/union/generic
type
As you will see I do not know what I am doing! Any help would be much
appreciated. I have found 2 books but they are not published until
October/November. Any ideas for a good site which addresses this
language?
Cheers
Geoff
I am using Visual C++ 2005 Express Beta 2 and cannot sort out how to
use the Scroll property value for a trackBar.
Under Event properties the name for the Scroll property is
trackBar1_Scroll so how do I print out the Scroll value?
I have tried using
Console::WriteLine(trackBar1_Scroll.Value);
but get error message
error C2228: left of '.Value' must have class/struct/union
if I use
Console::WriteLine(trackBar1_Scroll->Value);
I get
error C2228: left of '.Value' must have class/struct/union/generic
type
As you will see I do not know what I am doing! Any help would be much
appreciated. I have found 2 books but they are not published until
October/November. Any ideas for a good site which addresses this
language?
Cheers
Geoff