Using UnregisterClass When Removing Custom Control ClassLast reviewed: November 2, 1995Article ID: Q67248 |
The information in this article applies to:
In the Microsoft Windows environment, when no running application requires a custom control class, the class should be removed from memory to free the system resources it uses. If an application registers a control class for temporary use, the application should use the UnregisterClass function when the control is no longer needed. If the application is terminated, Windows automatically removes any classes that the application registered; therefore, explicit use of UnregisterClass is not required. However, pairing calls to the RegisterClass and UnregisterClass functions is a good programming practice.
|
Additional reference words: 3.00 3.10 3.50 3.51 4.00 95
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |