473,512 Members | 15,089 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Rotating a control ?

Hi Folks! :O)

I would need to rotate a control 180 degrees (and still be able to use it).
Does any one knows how to make this happens ?

I have a TrackBar control on a form with its TickStyle set to None and its
Orientation set to Vertical. For now the cursor (on the trackbar) is
pointing right and is set at the bottom of the control when its value is 0.
I'd like to have the little cursor to point left instead of right and have
it at top of control when Value worth 0.

Thanks!

--
Best Regards
Yanick Lefebvre
Nov 21 '05 #1
3 1235
I do not believe this is possible. You would have to write a custom trackbar
style control.

--
Bob Powell [MVP]
Visual C#, System.Drawing

The Image Transition Library wraps up and LED style instrumentation is
available in the June of Well Formed for C# or VB programmers
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml


"Zoury" <ya*************@hotmail.com> wrote in message
news:Or**************@TK2MSFTNGP09.phx.gbl...
Hi Folks! :O)

I would need to rotate a control 180 degrees (and still be able to use it). Does any one knows how to make this happens ?

I have a TrackBar control on a form with its TickStyle set to None and its
Orientation set to Vertical. For now the cursor (on the trackbar) is
pointing right and is set at the bottom of the control when its value is 0. I'd like to have the little cursor to point left instead of right and have
it at top of control when Value worth 0.

Thanks!

--
Best Regards
Yanick Lefebvre

Nov 21 '05 #2
thanks bob!

that's what I was affraid of.. :O/

nice site by the way. ;O)
is this one yours too ? : www.bobpowell.com <g>

--
Best Regards
Yanick Lefebvre
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> a écrit dans le message
de news:OH**************@TK2MSFTNGP12.phx.gbl...
I do not believe this is possible. You would have to write a custom trackbar style control.

--
Bob Powell [MVP]
Visual C#, System.Drawing

The Image Transition Library wraps up and LED style instrumentation is
available in the June of Well Formed for C# or VB programmers
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml


"Zoury" <ya*************@hotmail.com> wrote in message
news:Or**************@TK2MSFTNGP09.phx.gbl...
Hi Folks! :O)

I would need to rotate a control 180 degrees (and still be able to use

it).
Does any one knows how to make this happens ?

I have a TrackBar control on a form with its TickStyle set to None and its Orientation set to Vertical. For now the cursor (on the trackbar) is
pointing right and is set at the bottom of the control when its value is

0.
I'd like to have the little cursor to point left instead of right and have it at top of control when Value worth 0.

Thanks!

--
Best Regards
Yanick Lefebvre


Nov 21 '05 #3
BobPowell.com used to be mine but due to other interests at the time I let
it lapse and that chap picked it up. I have it on back-order so if he ever
forgets to renew..... ;-)

--
Bob Powell [MVP]
Visual C#, System.Drawing

The Image Transition Library wraps up and LED style instrumentation is
available in the June of Well Formed for C# or VB programmers
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml


"Zoury" <ya*************@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
thanks bob!

that's what I was affraid of.. :O/

nice site by the way. ;O)
is this one yours too ? : www.bobpowell.com <g>

--
Best Regards
Yanick Lefebvre
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> a écrit dans le message
de news:OH**************@TK2MSFTNGP12.phx.gbl...
I do not believe this is possible. You would have to write a custom

trackbar
style control.

--
Bob Powell [MVP]
Visual C#, System.Drawing

The Image Transition Library wraps up and LED style instrumentation is
available in the June of Well Formed for C# or VB programmers
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml


"Zoury" <ya*************@hotmail.com> wrote in message
news:Or**************@TK2MSFTNGP09.phx.gbl...
Hi Folks! :O)

I would need to rotate a control 180 degrees (and still be able to use

it).
Does any one knows how to make this happens ?

I have a TrackBar control on a form with its TickStyle set to None and its Orientation set to Vertical. For now the cursor (on the trackbar) is
pointing right and is set at the bottom of the control when its value
is 0.
I'd like to have the little cursor to point left instead of right and

have it at top of control when Value worth 0.

Thanks!

--
Best Regards
Yanick Lefebvre



Nov 21 '05 #4

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

Similar topics

1
1865
by: Charles A. Lackman | last post by:
Hello, I am trying to rotate a picturebox control. I have done some experimenting with rotating the image inside the picturebox, but I am trying to get the affect of grabbing the corner of the...
1
2085
by: Grunt | last post by:
Hi, I have been trying to put together a rotating banner. the code works but I am having a problem with the caching of the banner images. no matter what I try the page is constantly reloading the...
2
3092
by: MichaelH | last post by:
Hi all, I am writing a program that has to draw musical notes on a staff. To do this I need to draw Ellispses (representing the notes) on a horizontal line and rotate them slightly (by 15...
3
5935
by: avalence | last post by:
Hello, I am trying to create a nice rotating earth globe (on mouse) on my web site, in order to display my professional relationships all over the world. The best way seems to be a javascript. In...
1
2558
by: AR123 | last post by:
Hi I want to set up a rotating banner. Not sure how to incorporate my rotating banner code into the code below. I want the rotating banner to be the main feature image? This is set up in...
0
7371
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,...
0
7432
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...
1
7093
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
7517
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...
0
5676
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,...
0
4743
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
3230
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
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1583
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 ...

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.