COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Prev Previous Post   Next Post Next
Old 10-18-2019, 12:41 AM   #1
renzoruggieri.com
Human being with feelings
 
Join Date: Oct 2019
Location: Roseto degli Abruzzi (TE, Italy)
Posts: 11
Default Iplug2, SET/GET control

Someone can help me with this instruction that doesn't work for me.

auto SWact = [pGraphics](IControl* pCaller) {
SplashClickActionFunc(pCaller);

// it works
pSW = pCaller->GetTag();

// it works
dynamic_cast<ITextControl*>(pGraphics->GetControlWithTag(kTPanel))->SetStr("ciao");

// DON'T WORKS
dynamic_cast<ICaptionControl*>(pGraphics->GetDelegate().GetParam(kPSSW1)->Set());
};

What I need is to SET (and GET) a value in a parameter in a knob control?

Thanks

Last edited by renzoruggieri.com; 10-18-2019 at 12:48 AM. Reason: no clear title
renzoruggieri.com is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.