SandBox - How?

  • Thread starter Thread starter Timothy V
  • Start date Start date
It's Win32 programming at it's finest ;)

They use Interop to make calls that aren't available, intrinsically, in the .NET framework. These calls are documented but in the
context of a C++ user:

http://msdn.microsoft.com/library/d...winui/winui/windowsuserinterface/windowui.asp

http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dndotnet/html/win32map.asp

Using COM Interoperability you can port the structures and functions into the managed realm with relative ease (in most cases):

http://msdn.microsoft.com/library/d...n-us/cpguide/html/cpconAdvancedCOMInterop.asp

http://msdn.microsoft.com/library/d...COMInteropInVisualBasicVisualC.asp?frame=true

The controls that they make, such as the drag/drop toolbars/main menu probably use the Rebar control, but they may also be fully
managed. It's hard to tell:

http://msdn.microsoft.com/library/d...-us/shellcc/platform/commctls/rebar/rebar.asp

Overall, this stuff is probably possible in completely managed code, but you'd be reinventing the wheel in many cases:

http://msdn.microsoft.com/library/d...onKeyConceptsInWebFormsControlDevelopment.asp
 
Hi,

As Tim pointed it's done with a lot of work by either P/invoking or just
drawing them using GDI+

I t hink I have a couple of links of how to create a control from scrash.
let me know if you want it.

Also notice that IIRC 2.0 will have support for themes ala sandbar

cheers,
 
Back
Top