I'm a newbie to WDL-OL..
I've just tried hooking up a knoblinecontrol to a captioncontrol to show it's value, giving them both the same parameter id, but they do not work together as I expected.
Also the caption doesn't pop up a prompt when double clicked as I expected, even though I enabled prompt.
What am I doing wrong?
Code:
//Attach IKnobLineControl
IKnobLineControl* lineControl = new IKnobLineControl(this, IRECT(0, 300, 50, 350), kPanner1 + kX, &lineColor);
lineControl->DisablePrompt(false);
pGraphics->AttachControl(lineControl);
//Attach ICaptionControl
IText text = IText(14);
ICaptionControl* captionControl = new ICaptionControl(this, IRECT(0, 350, 50, 400), kPanner1 + kX, &text);
pGraphics->AttachControl(captionControl);