Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / January 2006

Tip: Looking for answers? Try searching our database.

ToolStrip with EnableVisualStyles

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Fabio - 15 Jan 2006 13:20 GMT
Hi all!

Someone can tell me why with the
Application.EnableVisualStyles()

the ToolStrip become blue???

All the form is gray (as the system colors says) and the toolstrip is blue!

Not so beautiful to view to me :(

Thanks!
Herfried K. Wagner [MVP] - 15 Jan 2006 15:22 GMT
"Fabio" <znt.fabio@virgilio.it> schrieb:
> Someone can tell me why with the
> Application.EnableVisualStyles()
[quoted text clipped - 3 lines]
> All the form is gray (as the system colors says) and the toolstrip is
> blue!

Set the control's 'RenderMode' property to 'System'.

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>

Fabio - 15 Jan 2006 15:54 GMT
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> ha scritto nel
messaggio

> Set the control's 'RenderMode' property to 'System'.

Why can't I have the same VS toolbar effect?
Herfried K. Wagner [MVP] - 15 Jan 2006 17:13 GMT
Ciao Fabio,

"Fabio" <znt.fabio@virgilio.it> schrieb:
>> Set the control's 'RenderMode' property to 'System'.
>
> Why can't I have the same VS toolbar effect?

Tan color table
<URL:http://blogs.msdn.com/jfoscoding/articles/489637.aspx>

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>

Herfried K. Wagner [MVP] - 15 Jan 2006 17:19 GMT
Addendum:

Windows Forms Programming -- How to: Implement a Custom 'ToolStripRenderer'
<URL:http://msdn2.microsoft.com/ms229720.aspx>

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.