المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Converting Unmanaged Handle to Managed Control



C# Programming
08-25-2009, 08:20 AM
Hi,

Suppose that we have a handle to an unmanaged control (window), is there any possible way that we "Cast" that handle to a managed control (for example ListView)?

Regards,
Beirami

P.S. Control.FromHandle() and Native********FromHandle() are returning null.