Wednesday, January 5, 2005
Hosting a Native Windows Control Within .NET CF
Posted by Janak Parekh in "DEVELOPER" @ 08:00 AM
"If you already have invested in creating a native window control and wish to use this in your .NET Compact Framework code, or you would like to take advantage of some of the intrinsic Windows CE controls which are not directly supported by the .NET Compact Framework, you will need a method of interoperating with native window controls. The OpenNETCF Smart Device Framework features a new custom implementation using the MessageWindow class. This uses Platform Invoke to create a visible window which is capable of hosting native controls. This article will look at how to create a custom control to host a native windows control – my example will be a managed control around the HTML control available in Windows CE."
Pocket PC Thoughts Review Team Member Peter Foot has a nice article up on MSDN -- especially if you're looking to integrate legacy controls into your new .NET applications.
Pocket PC Thoughts Review Team Member Peter Foot has a nice article up on MSDN -- especially if you're looking to integrate legacy controls into your new .NET applications.