Welcome to the MP3Car.com forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
|
05-09-2006, 03:06 AM
|
#1
|
|
Low Bitrate
Join Date: Feb 2005
Location: Denmark
Vehicle: 2003 Citroën C3
Posts: 89
|
frontend developers - forms and menues
Hey.
im making my own front end, but i have a Q. for other developers of front-end.
the way im about to do it, is (by the way its C#) i got a form, and in that form, i use usercontrols to be used as menu's.
how do others do it..
ex code, og just explanations would be great.. thanks 
__________________
Sorry for the english
CarPC Specs.
Via Epia MII 12000 \\ 512 Mb Ram \\ 200 GB Western Digital \\ PCmcia asus wi-fi
Xenarc 7" Touchscreen \\ Usb Bluetooth \\ Carnetix P-1280
|
|
|
05-09-2006, 04:27 AM
|
#2
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Vehicle: 1997 BMW E36 328I
Posts: 9,948
|
if you can understand VB6, download the Road Runner Source and have a look at that.
|
|
|
05-12-2006, 10:40 PM
|
#3
|
|
Newbie
Join Date: May 2006
Vehicle: 2004 / Volkswagen / R32
Posts: 5
|
Quote: Originally Posted by Mcnovy
Hey.
im making my own front end, but i have a Q. for other developers of front-end.
the way im about to do it, is (by the way its C#) i got a form, and in that form, i use usercontrols to be used as menu's.
how do others do it..
ex code, og just explanations would be great.. thanks 
Can you make a quick paint image of what you are trying to do? Why are you using user controls as menus? There is a built in menu control. It is in the System.Windows.Forms name space.
|
|
|
06-10-2006, 02:36 AM
|
#4
|
|
Constant Bitrate
Join Date: Apr 2006
Location: Dallas, Texas
Vehicle: 2005 Toyota Celica GTS 6
Posts: 222
|
He's probably wanting to create an interface that is skinnable and uses graphics for the buttons. There are a few ways to do this. Is this what you are trying to accomplish?
|
|
|
06-10-2006, 08:46 AM
|
#5
|
|
Low Bitrate
Join Date: Feb 2005
Location: Denmark
Vehicle: 2003 Citroën C3
Posts: 89
|
Ineffigy
yes.. that is exactly what i am trying to
do any of you have an prober way to do it..?
__________________
Sorry for the english
CarPC Specs.
Via Epia MII 12000 \\ 512 Mb Ram \\ 200 GB Western Digital \\ PCmcia asus wi-fi
Xenarc 7" Touchscreen \\ Usb Bluetooth \\ Carnetix P-1280
|
|
|
12-11-2006, 06:04 AM
|
#6
|
|
Newbie
Join Date: Nov 2006
Posts: 5
|
|
|
|
12-12-2006, 10:19 AM
|
#7
|
|
Constant Bitrate
Join Date: Apr 2006
Location: Dallas, Texas
Vehicle: 2005 Toyota Celica GTS 6
Posts: 222
|
You might want to look into "Owner Drawn" controls. This allows you to have control over how the controls (buttons, drop down menus , etc) are created. Another idea is to generate your own controls using DirectX. This will allow for hardware acceleration and alpha blending techniques. It all depends on how fancy you want to get.
|
|
|
12-12-2006, 10:28 AM
|
#8
|
|
FLAC
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,280
|
a simple way would be to work on an image, and have a file that defines clickable areas. To begin with, you can have one image. then you can start adding images that are hidden, and the button you press, reveals that part of the hidden image and so giving the illusion of animation.
this would be a much better way than to use a form. however, for rapid develipment (and you can worry about skinning later) you can use a form, but make sure you dont' embedd too much into the actual buttons, and just have the buttons calls methods. in that way, when you do implement the code for a skin, you can point the click-over to the method.
hope that helps
|
|
|
12-12-2006, 11:05 AM
|
#9
|
|
Constant Bitrate
Join Date: Apr 2006
Location: Dallas, Texas
Vehicle: 2005 Toyota Celica GTS 6
Posts: 222
|
Why not go a step further and have an XML file that defines each object, the properties (aka images) of the object and the method to be called from being "clicked" on or any other event. This way the screen becomes totally customizable and you can work on the background processing instead of focusing on the interface.
|
|
|
12-12-2006, 11:14 AM
|
#10
|
|
FLAC
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,280
|
that's exactly what I said 
|
|
|
12-12-2006, 11:56 AM
|
#11
|
|
Constant Bitrate
Join Date: Mar 2005
Location: Wiesbaden/Germany
Vehicle: 2000 VW Polo GTI
Posts: 209
|
Quote: Originally Posted by Mcnovy 
Hey.
im making my own front end, but i have a Q. for other developers of front-end.
the way im about to do it, is (by the way its C#) i got a form, and in that form, i use usercontrols to be used as menu's.
how do others do it..
ex code, og just explanations would be great.. thanks 
If you really need your own frontend:
http://www.mp3car.com/vbulletin/cf-plugins/71327-vb-net-plugin-new-concepts.html
(this is also running standalone because it is not using CF's skinning engine)
|
|
|
02-04-2007, 02:16 AM
|
#13
|
|
Newbie
Join Date: Jan 2007
Posts: 38
|
I like the idea of using DirectX, especially for the alpha blending capabilities. Does anyone have links to projects that do it this way?
|
|
|
02-05-2007, 04:29 AM
|
#14
|
|
Newbie
Join Date: Apr 2004
Vehicle: 2004 Alfa Romeo 147 JTD 140cv
Posts: 52
|
Plastico HT on www.sf.net have a complete set of usercontrol like menu, common dialog and other features, it's open source and it is made in vb6
|
|
|
02-17-2007, 04:30 PM
|
#15
|
|
Low Bitrate
Join Date: Feb 2005
Location: Denmark
Vehicle: 2003 Citroën C3
Posts: 89
|
Quote: Originally Posted by sama 
a simple way would be to work on an image, and have a file that defines clickable areas. To begin with, you can have one image. then you can start adding images that are hidden, and the button you press, reveals that part of the hidden image and so giving the illusion of animation.
this would be a much better way than to use a form. however, for rapid develipment (and you can worry about skinning later) you can use a form, but make sure you dont' embedd too much into the actual buttons, and just have the buttons calls methods. in that way, when you do implement the code for a skin, you can point the click-over to the method.
hope that helps
Quote:
Why not go a step further and have an XML file that defines each object, the properties (aka images) of the object and the method to be called from being "clicked" on or any other event. This way the screen becomes totally customizable and you can work on the background processing instead of focusing on the interface.
is XML the way other front end developers are making their skinning options..?
and, do anyone have some links on how to's..?
thanks..:!
appreciate all help I can get.!
do not wish to use either CF or SD, would like to create my own (one reason is to make myself a better programmer)
__________________
Sorry for the english
CarPC Specs.
Via Epia MII 12000 \\ 512 Mb Ram \\ 200 GB Western Digital \\ PCmcia asus wi-fi
Xenarc 7" Touchscreen \\ Usb Bluetooth \\ Carnetix P-1280
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:37 AM.
|
|