CNiControl

NI Measurement Studio CNi

Class CNiControl Base ClassesConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: WndProcNext page: CNiControl    
Class Declared in:
NiControl.h

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

CNiControl is an intermediate class from which all Measurement Studio ActiveX control objects, such as CNiGraph, CNiSlide, and CNiKnob, derive.

Hierarchy Chart Hierarchy Chart

'Base Classes' icon -- Shortcut to top of page. Base Classes

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

Public constructor

CNiControl( CNiInterface::ThreadAccess threadAccess )

Default constructor.

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

Public destructor

~CNiControl()

Destructor.

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

Protected function virtual void *

GetCustomInterface( bool *pDidAddRef )

Returns the custom interface pointer associated with the object.
Public function CNiInterface::ThreadAccess

GetThreadAccess()

Returns the thread access option to which the control is configured.
Protected function virtual void

InitCustomInterface()

Initializes the custom interface pointer to associate with the object.
Protected function virtual void

PreSubclassWindow()

Called by the MFC framework before the window is created.
Protected function virtual void

ReleaseCustomInterface()

Releases the custom interface pointer associated with the object.
Protected function virtual void

ValidateControl()

Validates the current state of the control.
Protected function static long __stdcall

WndProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam )

Called by the MFC framework to process windows messages.