code_junkie

Visual C++ 2005: How do I access Win32 form control values in a .cpp file?

Nov 13th, 2011
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Junk::Form1::trackBar1->value
  2. Junk::Form1::trackBar1.value
  3. Junk::Form1->trackBar1
  4. Junk->Form1->trackBar1
  5. this->trackBar1->value //This is legal in the .h file, and how I can get it to work there
  6. trackBar1->value
  7.  
  8. this->trackBar1 = (gcnew System::Windows::Forms::TrackBar());
  9.  
  10. class
  11. {
  12. ...
  13. };
  14.  
  15. #include "foo.h"
  16.  
  17. ... definitions ...
Add Comment
Please, Sign In to add comment