I need some info about UnRegistering a Window Class:
(1) Can you use UnRegisterClass to unregister a class created with RegisterClassEx ?
The MS Docs seem to imply only a Class created with RegisterClass can be unRegistered.
(2) If I want to UnRegister a Window class, "before" my application Terminates (it may have dozens of windows created and destroyed), where would I do it ? Can it be done when the %WM_DESTROY message is processed ?
(3) Are there any advantages to using RegisterClass over RegisterClassEx ?
(1) Can you use UnRegisterClass to unregister a class created with RegisterClassEx ?
The MS Docs seem to imply only a Class created with RegisterClass can be unRegistered.
(2) If I want to UnRegister a Window class, "before" my application Terminates (it may have dozens of windows created and destroyed), where would I do it ? Can it be done when the %WM_DESTROY message is processed ?
(3) Are there any advantages to using RegisterClass over RegisterClassEx ?
Comment