473,509 Members | 2,457 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual styles and panels.

Hi,

I have applied XP themes/styles via (Application.EnableVisualStyles()) to my
application. Many of my third party control, such as janus etc have
properties to enable this as well.

Everything works fine, except for a panel control I have which remains the
standard greyish color.

Are panels not able to pick up the XP theme/style color, or do I need to
somehow code the panel for this ?
Nov 21 '05 #1
1 957
Not sure if panels have a flatstyle property or not, I haven't looked. If
it does, make sure it is set to "system".

"Aussie Rules" <so*****@somewhere.com> wrote in message
news:u0**************@tk2msftngp13.phx.gbl...
Hi,

I have applied XP themes/styles via (Application.EnableVisualStyles()) to
my application. Many of my third party control, such as janus etc have
properties to enable this as well.

Everything works fine, except for a panel control I have which remains the
standard greyish color.

Are panels not able to pick up the XP theme/style color, or do I need to
somehow code the panel for this ?

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1458
by: ht990332 | last post by:
I'm writing applications in vc++ .net 2003. How do I give the applications visual styles on winxp without adding a ..manifest file?
4
5092
by: Bruce W...1 | last post by:
IE 6 supports the DOM for the most part. Am I missing something or is this absent from Visual Studio 2003? Does Web Matrix have it? You see, I'm trying to get Visual Studio and Dreamweaver MX...
10
14334
by: Robert Jacobson | last post by:
Hi, I'm develing a COM add-in for Microsoft Word XP that displays a form. I'd like to have the form display using the Windows XP theme. However, neither using a manifest nor calling...
3
1773
by: Brian Henry | last post by:
here's something odd, maybe someone can explain it, when i turn on application.enablevisualstyles at application start before i do my application.run(context) command in the sub main, when the app...
5
4768
by: MLM450 | last post by:
I want to use visual styles in my app, but it is causing a problem with a DLL I use. Is there a way to disable visual styles for that DLL? I do not have access to the code for the DLL. The DLL's...
2
1113
by: Flash | last post by:
Hello, recently I was looking through the system properties and came accross system.visualstyles namespace. This appears to contain all of the visual style elements in xp and I was wondering if it...
3
2962
by: zhaodapu | last post by:
I derived a panel class: public class DeskPanel : System.Windows.Forms.Panel Now I want to use the visual designer to add controls in MyPanel class. But I noticed that the visual designer...
1
1964
by: =?Utf-8?B?UmljaA==?= | last post by:
On my old workstation (development workstation) if I set Application/Enable XP visual styles - I was able to get/see the visual styles - like button borders highlighting when you run the mouse over...
0
7135
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7342
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7067
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5650
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4729
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3201
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
440
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.