|
-
Jan 14th, 2025, 10:52 AM
#1
Thread Starter
Frenzied Member
Unloading Multiple Subclassed Usercontrols
Hello All,
Recently i created a new UserControl that is subclassed and everything works fine.
However, when we have Multiple instances of the control, sometimes I get errors when closing/switching a Form in the IDE that the HWND no longer exists on UserControl_Terminate.
My research shows that this happens due to the order of which the unSubclassing happens and that it should be in reverse?
Any one have any ideas on this?
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.

Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|