Share via


CWinFormsDialog::operator TManagedControl^

Casts a type as a reference to a Windows Forms user control.

inline operator TManagedControl^( ) const throw( );

Remarks

This operator casts a type as a reference to a UserControl control. It is used to pass a CWinFormsDialog<TManagedControl> dialog box to functions that accept a pointer to a Windows Forms user control object.

Requirements

Header: afxwinforms.h

See Also

Reference

CWinFormsDialog Class

UserControl

Form