<< Return to Main Index

< Return to Class Index

CGXControl::SetActive

virtual void SetActive(BOOL bActive);

bActive

Specifies if the control should be set active or inactive.

Remarks

Override this method if your control supports an “active” state.

If your control is associated with a CWnd for example, setting the control active should result in making the CWnd visible and passing focus to it.

You should store the active-flag in a member variable (e.g., m_bActive).

See Also

CGXControl::IsActive

CGXControl

Class Overview | Class Members