Solved

Using VB.Net, how do you create graphical buttons that use XP Visual Styles?

Posted on 2004-08-10
6
173 Views
Last Modified: 2010-04-23
I have learned how to set a winforms app to use XP visual styles, and to enable the various controls to use their XP behavior. However, when I try to add a graphic to a button that uses XP visual styles (FlatStyle property = System) the graphic does not appear unless I change the FlatStyle property to 3D. My googling for this has turned up almost nothing, and what I did find was in German, which didn't translate that well!
0
Comment
Question by:Elizabeth_Connolly
  • 2
6 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 63 total points
ID: 11767150
Try here:

XP Button Style in VB.NET
http://www.thecodeproject.com/vb/net/XPStyleB.asp

Bob
0
 

Author Comment

by:Elizabeth_Connolly
ID: 11772769
Dear TheLearnedOne,

Thanks for the pointers - I downloaded both this and another link from that page and am checking them out and will let you know!

Elizabeth C.

0
 
LVL 4

Assisted Solution

by:y1381
y1381 earned 62 total points
ID: 11775812
you could also try something new ..

www.sharpui.com

0
 

Author Comment

by:Elizabeth_Connolly
ID: 11777595
Thanks, y1381. I took a look at this and may download it to see if it meets the needs (didn't see anything on buttons, however, which is my #1 concern right now.)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now