View Single Post
Old 05-02-2019, 09:07 PM   #6
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 396
Default

Quote:
Originally Posted by pressplay View Post
I doubt this is true. I've hidden several controls without parameter binding using these methods.
I tried lines like this:

IBitmap knob = pGraphics->LoadIBitmap(METER_ID, METER_FN, 61);
mMeterIdx = pGraphics->AttachControl(new IBitmapControl(this, 20, 10, -1, &knob));

GetGUI()->GrayOutControl(mMeterIdx, true);

and

GetGUI()->HideControl(mMeterIdx, true);


Neither of these had any effect unless there was a parameter attached to the control.
Nonlinear is offline   Reply With Quote