how to customize combobox to 3D look?
how to customize combobox to 3D look?
how to customize combobox to 3D look?
how to customize combobox to 3D look?
how to customize combobox to 3D look?
how to customize combobox to 3D look? how to customize combobox to 3D look? how to customize combobox to 3D look? how to customize combobox to 3D look? how to customize combobox to 3D look? how to customize combobox to 3D look? how to customize combobox to 3D look? how to customize combobox to 3D look?
how to customize combobox to 3D look? how to customize combobox to 3D look?
how to customize combobox to 3D look?
Go Back  Xtreme Visual Basic Talk > > > how to customize combobox to 3D look?


Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2012, 03:22 AM
zius25 zius25 is offline
Newcomer
 
Join Date: Jan 2010
Posts: 3
Default how to customize combobox to 3D look?


I want to customize a combobox control to make it look like the attached picture.

I' a beginner vb.net user so please make it simple as possible, thanks in advance.
Attached Images
File Type: png combobox.png (7.0 KB, 15 views)

Last edited by Flyguy; 07-19-2012 at 03:59 AM.
Reply With Quote
  #2  
Old 07-19-2012, 05:03 AM
DrPunk's Avatar
DrPunkhow to customize combobox to 3D look? DrPunk is offline
Senior Contributor

* Expert *
 
Join Date: Apr 2003
Location: Never where I want to be
Posts: 1,403
Default

You can't owner draw comboboxes so it's a bit of a non starter. You can do some custom drawing of the items, but as far as overriding OnPaintBackground, it just doesn't work.

There's far better stuff for beginners to bother themselves with.
__________________
There are no computers in heaven!
Reply With Quote
  #3  
Old 07-19-2012, 09:08 AM
AtmaWeapon's Avatar
AtmaWeaponhow to customize combobox to 3D look? AtmaWeapon is offline
Fabulous Florist

Forum Leader
* Guru *
 
Join Date: Feb 2004
Location: Austin, TX
Posts: 9,500
Default

They already look like that if you're using Windows Vista, Windows 7, or Windows 8 in anything but the classic theme. There are dozens of good arguments for respecting your user's visual style, and one bad one for not doing so. I think you should just let it look like what it looks like.
__________________
.NET Resources
My FAQ threads | Tutor's Corner | Code Library
I would bet money 2/3 of .NET questions are already answered in one of these three places.
Reply With Quote
  #4  
Old 07-19-2012, 08:23 PM
zius25 zius25 is offline
Newcomer
 
Join Date: Jan 2010
Posts: 3
Default

Quote:
Originally Posted by DrPunk View Post
You can't owner draw comboboxes so it's a bit of a non starter. You can do some custom drawing of the items, but as far as overriding OnPaintBackground, it just doesn't work.

There's far better stuff for beginners to bother themselves with.
i know im not a total beginner i used to work under vb6 for years , but i just like to do things the way i want cause there is always i way out
Quote:
Originally Posted by AtmaWeapon View Post
They already look like that if you're using Windows Vista, Windows 7, or Windows 8 in anything but the classic theme. There are dozens of good arguments for respecting your user's visual style, and one bad one for not doing so. I think you should just let it look like what it looks like.
no it dosent look like this it looks like normal txtbox with a small button next to it
Reply With Quote
  #5  
Old 07-20-2012, 03:55 AM
DrPunk's Avatar
DrPunkhow to customize combobox to 3D look? DrPunk is offline
Senior Contributor

* Expert *
 
Join Date: Apr 2003
Location: Never where I want to be
Posts: 1,403
Default

To get it to have that gradient then the DropDownStyle must be set to DropDownList.

Also, in your project properties, on the Appliation page, under Windows Application Framework Properties, you want to make sure Enable XP Visual Styles is checked.
__________________
There are no computers in heaven!
Reply With Quote
  #6  
Old 07-21-2012, 12:05 AM
zius25 zius25 is offline
Newcomer
 
Join Date: Jan 2010
Posts: 3
Default

Quote:
Originally Posted by DrPunk View Post
To get it to have that gradient then the DropDownStyle must be set to DropDownList.

Also, in your project properties, on the Appliation page, under Windows Application Framework Properties, you want to make sure Enable XP Visual Styles is checked.
thanks , i already find it and i got so mad i wasted so much time searching for answers , the strange thing i already tried to change the DropDownStyle to DropDownList ,but it didnt work at first for some reason , anyways thanks alot
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
how to customize combobox to 3D look?
how to customize combobox to 3D look?
how to customize combobox to 3D look? how to customize combobox to 3D look?
how to customize combobox to 3D look?
how to customize combobox to 3D look?
how to customize combobox to 3D look? how to customize combobox to 3D look? how to customize combobox to 3D look? how to customize combobox to 3D look? how to customize combobox to 3D look? how to customize combobox to 3D look? how to customize combobox to 3D look?
how to customize combobox to 3D look?
how to customize combobox to 3D look?
 
how to customize combobox to 3D look?
how to customize combobox to 3D look?
 
-->