473,324 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

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 16 '05 #1
3 2756
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 16 '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 16 '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 16 '05 #4

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

Similar topics

4
by: Ian Hubling | last post by:
I'm trying to complete a rotating banner ad within a page I have. The rotating add has four images that rotate in three-second increments. I've got the images to rotate ok - but now I want to go...
1
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
by: Sandy Bremmer | last post by:
I have seen many Javascripts that rotate images with each load or refresh of the page but so far all I've found require hard coding the image filename into the script. Does anyone know of a script...
1
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...
4
by: Roozbeh GHolizadeh | last post by:
Hi there... i think it is a very common problem but i dont know why i didnt find anything good for me on internet... i want to simply rotate an array with 90,180,270 degrees.... here is how...
2
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...
5
by: Ricardo Furtado | last post by:
I'm trying, for a week or two, to create a procedure in order to rotate the image in any picturebox control in a cephalometry software. I've found a web site that shows how that can be done:...
3
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
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.