We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Control Subclassing

Thread ID:




5927 Jul 24,2003 07:52 AM Windows Forms 0
Tags: FAQ
Royce Fickling
Asked On July 24, 2003 07:52 AM

In VC++, I can create a control in the resource editor and connect it, called subclassing, to a supporting object in the OnInitDialog() function of my dialog class. Ex: m_pPartno = new CEdit; m_pPartno->Create(....); m_pPartno->SubclassDlgItem(IDC_PARTNO, this); How can I do the same thing in .NET C#? Surely Microsoft didn't forget to implement this feature in the .NET environment! Thanks, Royce Fickling


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.