CNiBinding::SetBindObject

CNi

Class
CNiBinding::
SetBindObject()
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: SelectURLNext page: SetBindObject    
Public Function Declared in:
NiBinding.h

'Declaration' icon -- Shortcut to top of page. Declaration

void SetBindObject(
    CNiInterface& subObject);

'Description' icon -- Shortcut to top of page. Description

Sets the object whose property binds to a data source. You must call this function from the thread that created the object.

Shortcut to top of page. Parameters

CNiInterface& subObject

The subobject of the control to bind.

'See Also' icon -- Shortcut to top of page. See Also

Shortcut to top of page. Example

    // Sets the BindObject to be a CNiKnob.
    CNiKnob knob;
    CNiBinding binding = knob.Bindings.Item(1);
    binding.SetBindObject(knob);