Override a virtual function
You can override virtual functions defined in a base class from the Visual Studio Properties window.
To override a virtual function in the Properties window:
In Class View, select the class.
In the Properties window, select the Overrides button.
The Overrides button is available when you select either the class name in Class View or when you select within the source window.
The left column lists the virtual functions. If the name of a virtual function also appears in the right column, then an override has already been implemented.
If the function has no override, then select the cell in the right column in the Properties window to display the suggested name of the function override as <add>FuncName.
Select the suggested name to add stub code for the function.
To edit an overriding function, double-click the name of the function in Class View and edit the code in the source window.
To remove an override, select the override function name in the right column and select <delete>FuncName. The function's code is commented out.
Submit and view feedback for