The MP3car.com Store  

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.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Coders Corner

Reply
 
Thread Tools Search this Thread Display Modes
Old 05-09-2006, 03:06 AM   #1
Low Bitrate
 
Mcnovy's Avatar
 
Join Date: Feb 2005
Location: Denmark
Vehicle: 2003 Citroën C3
Posts: 89
My Photos: (0)
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
Mcnovy is offline   Reply With Quote
Sponsored Links
Old 05-09-2006, 04:27 AM   #2
Confusion Master
Enforcer's CarPC Specs
 
Enforcer's Avatar
 
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
My Photos: (1)
if you can understand VB6, download the Road Runner Source and have a look at that.
Enforcer is online now   Reply With Quote
Old 05-12-2006, 10:40 PM   #3
Newbie
 
Join Date: May 2006
Vehicle: 2004 / Volkswagen / R32
Posts: 5
My Photos: (0)
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.
skrewdlude is offline   Reply With Quote
Old 06-10-2006, 02:36 AM   #4
Constant Bitrate
Ineffigy's CarPC Specs
 
Join Date: Apr 2006
Location: Dallas, Texas
Vehicle: 2005 Toyota Celica GTS 6
Posts: 222
My Photos: (0)
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?
Ineffigy is offline   Reply With Quote
Old 06-10-2006, 08:46 AM   #5
Low Bitrate
 
Mcnovy's Avatar
 
Join Date: Feb 2005
Location: Denmark
Vehicle: 2003 Citroën C3
Posts: 89
My Photos: (0)
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
Mcnovy is offline   Reply With Quote
Old 12-11-2006, 06:04 AM   #6
Newbie
 
Join Date: Nov 2006
Posts: 5
My Photos: (0)
www.codeproject.com ?
badman is offline   Reply With Quote
Old 12-12-2006, 10:19 AM   #7
Constant Bitrate
Ineffigy's CarPC Specs
 
Join Date: Apr 2006
Location: Dallas, Texas
Vehicle: 2005 Toyota Celica GTS 6
Posts: 222
My Photos: (0)
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.
Ineffigy is offline   Reply With Quote
Old 12-12-2006, 10:28 AM   #8
FLAC
sama's CarPC Specs
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,280
My Photos: (0)
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
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Old 12-12-2006, 11:05 AM   #9
Constant Bitrate
Ineffigy's CarPC Specs
 
Join Date: Apr 2006
Location: Dallas, Texas
Vehicle: 2005 Toyota Celica GTS 6
Posts: 222
My Photos: (0)
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.
Ineffigy is offline   Reply With Quote
Old 12-12-2006, 11:14 AM   #10
FLAC
sama's CarPC Specs
 
sama's Avatar
 
Join Date: Feb 2006
Location: London, UK
Vehicle: BMW 850CSi
Posts: 1,280
My Photos: (0)
that's exactly what I said
__________________
///Mputer - Velocity - TomTom - Vision - Bezel - CarPC
sama is offline   Reply With Quote
Sponsored Links
Old 12-12-2006, 11:56 AM   #11
Constant Bitrate
 
Join Date: Mar 2005
Location: Wiesbaden/Germany
Vehicle: 2000 VW Polo GTI
Posts: 209
My Photos: (0)
Quote: Originally Posted by Mcnovy View Post
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)
FMode is offline   Reply With Quote
Old 12-12-2006, 03:09 PM   #12
Constant Bitrate
Ineffigy's CarPC Specs
 
Join Date: Apr 2006
Location: Dallas, Texas
Vehicle: 2005 Toyota Celica GTS 6
Posts: 222
My Photos: (0)
Looks like Street Deck is about to become the better solution of addin development.

http://www.mp3car.com/wiki/index.php...for_StreetDeck
Ineffigy is offline   Reply With Quote
Old 02-04-2007, 02:16 AM   #13
Newbie
 
Join Date: Jan 2007
Posts: 38
My Photos: (0)
I like the idea of using DirectX, especially for the alpha blending capabilities. Does anyone have links to projects that do it this way?
Aaaron16 is offline   Reply With Quote
Old 02-05-2007, 04:29 AM   #14
Newbie
 
farolfo's Avatar
 
Join Date: Apr 2004
Vehicle: 2004 Alfa Romeo 147 JTD 140cv
Posts: 52
My Photos: (0)
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
farolfo is offline   Reply With Quote
Old 02-17-2007, 04:30 PM   #15
Low Bitrate
 
Mcnovy's Avatar
 
Join Date: Feb 2005
Location: Denmark
Vehicle: 2003 Citroën C3
Posts: 89
My Photos: (0)
Quote: Originally Posted by sama View Post
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
Mcnovy is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT -5. The time now is 09:37 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics