473,771 Members | 2,365 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Scrollbar same as Windows

I would like have same control as Windows XP, Ex. All arrows in dropdown is
blue, scrollbar to, progressbar ... I can ??
Nov 20 '05 #1
3 2048
Hello,

"FaciCAD" <ca*@norclair.c om> schrieb:
I would like have same control as Windows XP, Ex. All
arrows in dropdown is blue, scrollbar to, progressbar ...


NET 1.0:

Set the controls' 'FlatStyle' properties to 'System', then add an
application manifest.

Tools

http://www.msjogren.net/dotnet/eng/tools/default.asp
-> tool "ThemeMe"

MSDN:

VS.NET Addin for using XP visual styles
http://tinyurl.com/37yk

Using XP Visual Styles in Windows Forms apps
http://tinyurl.com/37yi

..NET 1.1:

http://msdn.microsoft.com/msdnmag/is...s/default.aspx

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2
Hi Herfried,

You are aware that like most controls, the ScrollBar does not have a
FlatStyle property, aren't you?

I believe that there are only six controls in System.Windows. Forms that
sport the FlatStyle property.

- Robert

"Herfried K. Wagner [MVP]" <hi*******@m.ac tivevb.de> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
Hello,

"FaciCAD" <ca*@norclair.c om> schrieb:
I would like have same control as Windows XP, Ex. All
arrows in dropdown is blue, scrollbar to, progressbar ...


NET 1.0:

Set the controls' 'FlatStyle' properties to 'System', then add an
application manifest.

Tools

http://www.msjogren.net/dotnet/eng/tools/default.asp
-> tool "ThemeMe"

MSDN:

VS.NET Addin for using XP visual styles
http://tinyurl.com/37yk

Using XP Visual Styles in Windows Forms apps
http://tinyurl.com/37yi

.NET 1.1:

http://msdn.microsoft.com/msdnmag/is...s/default.aspx

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet

Nov 20 '05 #3
Hello,

"Robert Havens" <No*@a.chance > schrieb:
You are aware that like most controls, the ScrollBar does
not have a FlatStyle property, aren't you?


Most of these controls will be themed automatically.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #4

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

Similar topics

6
10939
by: Colin McGuire | last post by:
Hello experts, this is a repost but I have been (much) more clear. I want to know the position of the horizontal scrollbar in a textbox as a percentage - if the horizontal scrollbar is hard left, I want to display 0% on the form. - if the horizontal scrollbar is smack in the middle, I want to display 50% on the form. - if the horizontal scrollbar is 2/3rd along the X-axis,
22
2359
by: Colin McGuire | last post by:
I apologize for posting yet another scrollbar question. Here is my code. All I want is for a diagonal line to appear from coordinates (0,0) to (width,height) in a usercontrol regardless of whether the user autoscrolls the usercontrol (other things that are on the usercontrol I want to scroll, but haven't included any here). Here are the steps to reproduce my problem. 1. Launch Visual Studio and create a new Windows application with...
3
12745
by: spielmann | last post by:
Hello I want to change the scrollbar size of windows, How can I do that with vb.net I have find this in VB6 but how can we convert simply this code. thx
0
1038
by: Ron Dahl | last post by:
I have a form containing a panel and a picturebox inside the panel. The form load code changes the panel size to 400x400 and the picturebox size to 800x800 Autoscroll on the panel is set to true. The picturebox sizemode is set to AutoSize and StretchImage An image of size 400x400 is loadeded into the picturebox. Everything works as expected. I have also added the following code (see end of message). The pagedown does shift the visible...
0
2626
by: d.steininger | last post by:
Hi there! Is there a way to bind a Textbox.Text to a ScrollBar.Value (not the Textbox-own Scrollbar) and vice versa? The Problem: I have to deal with two controls. The Textbox should accept integers as input, limited by a ScrollBar's Minimum- and Maximum. Changing the ScrollBar-Value should update the Textbox-Text and vice versa. So the textbox-text and scrollbar-value represent the same value. The user is
10
12148
by: Crazy Cat | last post by:
Hi, I am dynamically creating datagridviews for my application, then filling them with data from a 30 row datatable, and everything seems to work great with one exception. My horizontal scrollbar never appears -- no problem with the vertical scrollbar. I even try setting the scrollbars property to Both, but still I only see the vertical scrollbar. Is there any other way to force the DataGridView's vertical scrollbar
14
3956
by: Michael Weis | last post by:
Hello all, as a non-professional in these things, I searched for this topic but found no satisfying answer: I have to create a site with 3 frames. (Please no diskussion about the sense of using frames...) The main frame has to show a vertical scrollbar if content is bigger than one display page. This works well, but:
1
1757
by: qhimq | last post by:
Hi, I have a lot of edit child windows and text painted on a windows application made from the API all at runtime. How do I go about making the scrollbar to move them all? What I attempted: in the WM_PAINT message I have it paint a big red (later I will make white) rectangle filling the full window then it paints the text into its new position. The new position is takin from its initial position - the position of the scrollbar. For...
1
5339
by: Jenny | last post by:
Dear all, I have one select which lists one visible element. I want this select can show scrollbar after I click its down arrow, so that i can use the scrollbar to select the element i want. I test it on windows IE. The scrollbar will be shown when the select has more than 30 elements, otherwise it won't show scrollbar. I don't want the list to be that long. I hope that the scrollbar can be shown when the number of elements is 8.
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10261
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9911
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8934
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7460
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6713
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.