Code: Select all
GainFader = new CHorizontalSlider (size, this, kGain, minPos, maxPos, hFaderHandle, hFaderBody, point);
Can anyone explain what's going on? What is 'this' being used to do here? Thanks again!
Code: Select all
GainFader = new CHorizontalSlider (size, this, kGain, minPos, maxPos, hFaderHandle, hFaderBody, point);
Code: Select all
class A {
bool compare_ptr(A* a) { return (this == a); }
};
A a;
A b;
a.compare_ptr(&a); // returns 'true'
a.compare_ptr(&b); // returns 'false'
Code: Select all
class ScopeEditor :
public AEffGUIEditor,
public CControlListener
© KVR Audio, Inc. 2000-2024
Submit: News, Plugins, Hosts & Apps | Advertise @ KVR | Developer Account | About KVR / Contact Us | Privacy Statement