Questions tagged [visual-styles]

Microsoft visual styles is a user interface customization (themes) technology introduced in Windows XP and substantially expanded in Windows Vista to cover common Windows controls. Since Windows 8 visual styles can't be turned off.

Useful resources:

75 questions
0
votes
1 answer

How to apply visual style for Windows classic theme in Win form using C#

I am using VisualStyleRenderer for my Windows Application, it works perfectly for Windows XP theme but it doesn't work for Windows Classic theme. Can anybody suggest me how will I able to make application theme supportable. Update: Let me describe…
SharpUrBrain
  • 3,180
  • 5
  • 38
  • 56
0
votes
1 answer

Enable groups in the ListView hosted by WPF

There is an old Winforms control which I hosted in WPF app. Control makes use of System.Windows.Forms.ListView inside and this ListView uses Groups feature. The problem is that this control when hosted by WPF does not show groups. I've manually…
IgorStack
  • 799
  • 2
  • 6
  • 22
0
votes
1 answer

Disable/turn off visual styles/theming for just a single form

I have a winforms application. Main form has some buttons that open other forms on click. There is a form I would like to disable visual styles/theme. Also I would like to disable visual styles for its childs. Is it possible? If so how? For example,…
Willy
  • 9,848
  • 22
  • 141
  • 284
0
votes
2 answers

Marquee Progressbar without EnabledVisualStyles()

I'm working on a .NET solution with an unmanaged EXE. This means, i have no VisualStyles enabled. I'm trying to use a marquee progessbar without using EnabledVisualStyles(). What happened is that my progressbar appears without any…
Max T
  • 25
  • 9
0
votes
1 answer

Using a manifest causes window to remain partially blank

I am in the process of trying to make an app that has most of its development done in Visual C++ 6.0 adhere to Windows theming, or to be precise the visual styles aspect of it. The application in question is a MFC application with the MBCS…
Stigma
  • 1,686
  • 13
  • 27
0
votes
2 answers

How do you draw a Taskbar button using visual styles?

I've created a DeskBand toolbar and I want to display a button on the toolbar that has the style visual style as a taskbar button. In .NET you can use the VisualStyleRenderer to render the Taskbar BACKGROUND, but there's way to render a button. Are…
Chris Thompson
  • 16,203
  • 9
  • 45
  • 62
0
votes
0 answers

I can't set windows controls using IUP with OpenCV's highgui

Cheers, I'm coding a project with Tecgraf's IUP (iup-3.7_Win32_dll9_lib) and OpenCV 1.1pre1 on MSVC 2010. In order to enable window's visual styles, I'm using this manifest file:
ad'mastor
  • 1
  • 1
0
votes
1 answer

vb.net application Cancel button runs into the edge of the form in Windows 7

I have an application written in vb.net which works fine in both Windows XP, Vista and 7. However, in Windows Vista and 7, the button layout (specifically the Exit/Cancel button at the bottom right) of all the forms acts weird, as the Exit/Cancel…
Onkar
  • 159
  • 1
  • 4
0
votes
0 answers

Apply Visual Style in vc++ application

I already have a vc++ application buyt it look of a bit old version. Now I want to apply visual style in that application. Can anybody tell me how to go about that as I did that in my c# application with the help of VisualStyler.Net But I don't know…
Vishal Suthar
  • 17,013
  • 3
  • 59
  • 105
0
votes
2 answers

Which class, part and state is used to draw selection?

I'm trying to draw selection/focus frame in my custom windows forms control using visual styles on Windows 7 with Aero enabled. I tried this one: VisualStyleRenderer selectionRenderer = new…
Spook
  • 25,318
  • 18
  • 90
  • 167
0
votes
1 answer

VB.NET VisualStyleRenderer not working at all

Does anybody see my mistake here? Private Sub Form1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click Dim renderer As VisualStyleRenderer renderer = New…
tmighty
  • 10,734
  • 21
  • 104
  • 218
0
votes
1 answer

C#, TabControl, Visual Styles - How can I give a panel a visual background similar to the TabControl background?

How could I give a panel or any other control the style of a TabControl (the control itself, not the tab pages). What I mean is to give a control a border, then a shadow effect, and a gradient background color?
user1108076
  • 81
  • 1
  • 9
-1
votes
1 answer

VB.NET VisualStyleRenderer ThemeBackground missing

I am trying to port my VB6 code to .NET, but there is something that I just don't find: In VB6 I said (pseudo-code) OpenThemeData "ExplorerBar" and then... DrawThemeBackground Lib "UxTheme.dll" (ByVal hTheme As IntPtr, ByVal hdc As IntPtr, ByVal…
tmighty
  • 10,734
  • 21
  • 104
  • 218
-1
votes
1 answer

Visual Styles magically stopped working

Does anyone know what can cause Visual Styles to just stop working? I don't know for sure when it stopped working, so it's hard to go back into time... I checked Program.cs and have EnableVisualStyles() Yes I check the flatstyle as well... I also…
bwoogie
  • 4,339
  • 12
  • 39
  • 72
-2
votes
1 answer

Windows XP Style Button

How can I get a Windows XP-style button in my MFC dialog?
sonam
1 2 3 4
5