473,569 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

creating custom objects

hi,

i have been asked to make a good-looking app for a friend. i have an options
form with a big tabstrip in it.

1. how can i customize it e.g. change from the standard system style
tabcontrol to what i want?

2. if #1 isnt possible to do, what would be the best way to make something
look like a tabstrip?

microsoft office was made with creating custom objects (except most tabs).
even the menu bar was created from scratch. how can i do this with c#?
--
Alvo von Cossel I of Germany
Nov 17 '05 #1
4 2312
Funny,

i am in the same boat as you. I posted a similar question yesterday. The
reply pointed out that it involves doing graphics, etc. QUOTE from the reply

There was also this link It's going to be a lot of work but you'll find out
how from my site:
http://www.dotnetrix.co.uk/tabcontrols.html --> A completely ownerdraw
tabcontrol

END Quote.

I have previously created a custom control A in which i would place alll
controls i needed.
then i created another control for buttons B. Then i would place images on
the buttons.
Then i associate each A control with B. then onclick events i would show A
under this button and hide all other As, etc.

i am not good at graphics i have never done it. if you find a good solution
please share.
"Alvo von Cossel I" <Al************ @discussions.mi crosoft.com> wrote in
message news:71******** *************** ***********@mic rosoft.com...
hi,

i have been asked to make a good-looking app for a friend. i have an
options
form with a big tabstrip in it.

1. how can i customize it e.g. change from the standard system style
tabcontrol to what i want?

2. if #1 isnt possible to do, what would be the best way to make something
look like a tabstrip?

microsoft office was made with creating custom objects (except most tabs).
even the menu bar was created from scratch. how can i do this with c#?
--
Alvo von Cossel I of Germany

Nov 17 '05 #2
Alvo,

There really isn't this kind of functionality in the framework where you
can say "I want functionality like this, but draw it like this". If you
want something custom, then you will have to draw the control yourself.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Alvo von Cossel I" <Al************ @discussions.mi crosoft.com> wrote in
message news:71******** *************** ***********@mic rosoft.com...
hi,

i have been asked to make a good-looking app for a friend. i have an
options
form with a big tabstrip in it.

1. how can i customize it e.g. change from the standard system style
tabcontrol to what i want?

2. if #1 isnt possible to do, what would be the best way to make something
look like a tabstrip?

microsoft office was made with creating custom objects (except most tabs).
even the menu bar was created from scratch. how can i do this with c#?
--
Alvo von Cossel I of Germany

Nov 17 '05 #3
hi,

when you say draw, do you mean create the whole object from scratch? if yes,
how would i draw it?

happy summer holidays :^)

--
Alvo von Cossel I of Germany
"Nicholas Paldino [.NET/C# MVP]" wrote:
Alvo,

There really isn't this kind of functionality in the framework where you
can say "I want functionality like this, but draw it like this". If you
want something custom, then you will have to draw the control yourself.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Alvo von Cossel I" <Al************ @discussions.mi crosoft.com> wrote in
message news:71******** *************** ***********@mic rosoft.com...
hi,

i have been asked to make a good-looking app for a friend. i have an
options
form with a big tabstrip in it.

1. how can i customize it e.g. change from the standard system style
tabcontrol to what i want?

2. if #1 isnt possible to do, what would be the best way to make something
look like a tabstrip?

microsoft office was made with creating custom objects (except most tabs).
even the menu bar was created from scratch. how can i do this with c#?
--
Alvo von Cossel I of Germany


Nov 17 '05 #4
hi,

nicholas P said that if youw ant to create a control you need to 'draw' it.
i'm not sure what he meant or how it's done but they did it in MS office
(although thaty was written in C++, not c#). it must be possible with c#

have some happy summer holidays
--
Alvo von Cossel I of Germany
"Raj Chudasama" wrote:
Funny,

i am in the same boat as you. I posted a similar question yesterday. The
reply pointed out that it involves doing graphics, etc. QUOTE from the reply

There was also this link It's going to be a lot of work but you'll find out
how from my site:
http://www.dotnetrix.co.uk/tabcontrols.html --> A completely ownerdraw
tabcontrol

END Quote.

I have previously created a custom control A in which i would place alll
controls i needed.
then i created another control for buttons B. Then i would place images on
the buttons.
Then i associate each A control with B. then onclick events i would show A
under this button and hide all other As, etc.

i am not good at graphics i have never done it. if you find a good solution
please share.
"Alvo von Cossel I" <Al************ @discussions.mi crosoft.com> wrote in
message news:71******** *************** ***********@mic rosoft.com...
hi,

i have been asked to make a good-looking app for a friend. i have an
options
form with a big tabstrip in it.

1. how can i customize it e.g. change from the standard system style
tabcontrol to what i want?

2. if #1 isnt possible to do, what would be the best way to make something
look like a tabstrip?

microsoft office was made with creating custom objects (except most tabs).
even the menu bar was created from scratch. how can i do this with c#?
--
Alvo von Cossel I of Germany


Nov 17 '05 #5

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

Similar topics

2
9703
by: PK | last post by:
Hello, I am looking for help on the following. I'm trying to create a custom browser toolbar button that will do a few things. One that I'm trying to do at the moment is just simply return the URL of whatever page the user is visiting. I wanted to create a Win32 application using VB.NET. If there is a better way of doing this please let...
5
28344
by: Keiron Waites | last post by:
<script language="JavaScript" type="text/javascript"> <!-- var array1 = new Array(); var array1i = new Array(); array1 = array1i; alert(array1); // --> </script>
3
1849
by: Ken Varn | last post by:
I am just starting the process of creating ASP.NET server controls. I have created controls for .NET applications, but have just started with ASP.NET. I am a little confused about some areas that I am hoping someone can help clear up. 1. What is the difference between initializing a control in the constructor, vs the OnInit(), vs the...
5
2269
by: | last post by:
Trying to learn about manipulating collections of objects, and populating these objects dynamically from datasources. Could someone post a code sample that shows the following: Instantiating a collection object -- say, a dictionary. Populating that collection object with custom objects, say, Person. What I really want to see is how to...
9
6002
by: Rotzooi | last post by:
Hi, I have a VB.NET Service application that's running fine under the Local System account. But for configuration purposes I don't want to be dependent on modifying the registry manually or using an seperate application (like I do now). I want to implement a system tray icon when someone logs on to the console. I've tried several samples...
10
5088
by: moondaddy | last post by:
I'm new to c# and .net 2.0. In the old vb.net 1.1 days I normally created a list class for every business class and used this list class for all databinding rather than using datasets. This is because often I wanted to edit data in the list and therefore needed to talk to the business object and not the dataset. Since this was a must, I...
26
5343
by: nyathancha | last post by:
Hi, How Do I create an instance of a derived class from an instance of a base class, essentially wrapping up an existing base class with some additional functionality. The reason I need this is because I am not always able to control/create all the different constructors the base class has. My problem can be described in code as follows ... ...
3
1924
by: =?Utf-8?B?R2hpc3Rvcw==?= | last post by:
Hi all, We have a N-Tier framework and we now create a Web Site App to wotk with this architecture. I add reference from my libraries in the project and creating page and controls is very easy, using my objects. But, it's seem that I cannot create report using Crystal Report with my objects. I created classes in the app_Code folder and...
3
7405
Kelicula
by: Kelicula | last post by:
This is NOT a complete OO perl tutorial However I thought it could be beneficial to explain some of the basic concepts, and allow some users to simplify the software design process. I have found it to be extremely useful and beneficial to create my own "custom" modules. It (among many other things) allows you to type less. Or to make your...
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7926
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7982
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5222
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3656
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3644
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1226
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.