Solved

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

Posted on 2004-08-10
6
175 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
EF5: Question about Metadata Artifact Processing 4 21
Help with exporting to excel 4 35
location of a form 2 24
Passing data between Forms 3 20
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 …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

765 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