473,396 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

SandBox - How?

Hi,
I was wondering how people create these controls, found at
http://www.divil.co.uk/net/controls/.

Is there a tutorial somewhere that can teach the basics?

Thanks guys,

Tim.
Nov 17 '05 #1
3 2091
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/de...e/windowui.asp

http://msdn.microsoft.com/netframewo...l/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/de...COMInterop.asp

http://msdn.microsoft.com/library/de...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/de...ebar/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/de...evelopment.asp

--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"Timothy V" <tr****@msn.com> wrote in message news:u7**************@TK2MSFTNGP10.phx.gbl...
Hi,
I was wondering how people create these controls, found at http://www.divil.co.uk/net/controls/.

Is there a tutorial somewhere that can teach the basics?

Thanks guys,

Tim.

Nov 17 '05 #2
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,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Timothy V" <tr****@msn.com> wrote in message
news:u7**************@TK2MSFTNGP10.phx.gbl...
Hi,
I was wondering how people create these controls, found at
http://www.divil.co.uk/net/controls/.

Is there a tutorial somewhere that can teach the basics?

Thanks guys,

Tim.

Nov 17 '05 #3
Hi

Take a look at this article with code

http://www.codeproject.com/cs/miscctrl/csoutlookbar.asp

Hope this helps

Publicjoe

C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html

C# Ebook at http://www.publicjoe.f9.co.uk/csharp/samples/ebook.html

VB Tutorial at http://www.publicjoe.f9.co.uk/vbnet/vbnet.html

VB Ebook at http://www.publicjoe.f9.co.uk/vbnet/samples/ebook.html

Mirrors at http://dowhileloop.com/publicjoe/ and

http://publicjoe.justbe.com/

"Timothy V" <tr****@msn.com> wrote in message
news:u7**************@TK2MSFTNGP10.phx.gbl...
Hi,
I was wondering how people create these controls, found at
http://www.divil.co.uk/net/controls/.

Is there a tutorial somewhere that can teach the basics?

Thanks guys,

Tim.

Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: André Roberge | last post by:
Hi all, I was wondering if the session: Intuition and Python Programming - the Python Visual Sandbox did occur, of if it was canceled. To this day, there is still no sign of a corresponding...
1
by: Jim Hubbard | last post by:
Is there a way to run an unmanaged application (NOT .Net) inside a sandbox created with .Net? I've seen apps that do this with JAVA, and I was wondering about doing the same thing in .Net Jim...
4
by: jrefactors | last post by:
I always hear the term "sandbox" in software development circle. Actually what does it really mean? Is it the machine for development, or testing purposes, not for actual production purposes? ...
1
by: Karen | last post by:
I just upgraded to Access 2003 and get a message about Sandbox settings everytime I open my file. Can I set it to not ask anymore? Thanks. Rosy
1
by: Sergiu | last post by:
Hi all, How can I adjust my IE .NET sandbox security level? Sergiu.
2
by: Graham Menhennitt | last post by:
I have a large Python 2.5 program that I want my users to be able to "extend" using a Python script. However, I want their script to run in a sandbox within the overall program so that they only...
0
by: pawel.kedzior | last post by:
Hi One of the issues which AppDomains are facing is problem of unsecure code execution in a sandbox. One of its aspects are unhandled exceptions thrown inside domains - they should not...
0
by: pekkahu | last post by:
I need to send an http request from an applet to a web server other than the one where the applet was loaded from. Sandbox prohibits doing this directly. The applet sandbox only allows connetion to...
1
by: Adem24 | last post by:
How would one program a sandbox? Let's say the server and all clients have the same architecture, and environment (for example 32bit x86-Linux environment). The server shall offer sandbox...
6
by: CFFAN | last post by:
when i testing sandbox for paypal i am getting this error..i used this code for this <form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"> <input...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.