I'm learning C++/CLI with .NET in Visual Studio.
I want to create a TrackBar, where the minimum value is RGB white and the maximum value is RGB black.
I've dropped into the Form a Label that shows the value of the TrackBar's pointer position, but I want to show it only while I'm scrolling or holding the TrackBar's pointer with the mouse. Can someone help me?
Here's the TrackBar scroll listener:
private: System::Void trackBar1_Scroll(System::Object^ sender, System::EventArgs^ e) {
//Set label text to trackbar value
label2->Text = trackBar1->Value.ToString();
//Set label2 visible to show trackbar value
label2->Visible = true;
}