Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / June 2007

Tip: Looking for answers? Try searching our database.

Reverse TrackBar Control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KalliMan - 07 Jun 2007 10:37 GMT
Hi all,

By default  the trackbar control uses down equal to right and up equal to
left. I want  to make down equal to left and up equal to right.

I know that I can behave that, importing SetWindowsLong from user32.dll and
set the "TBS_DOWNISLEFT" style, but I'm searching for other way without using
Win32.

Thank u
KalliMan
Bob Powell [MVP] - 07 Jun 2007 22:09 GMT
subtract the value of the control from the max value?

Signature

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

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

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

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

> Hi all,
>
[quoted text clipped - 9 lines]
> Thank u
> KalliMan
KalliMan - 08 Jun 2007 07:23 GMT
Yes, this looks to be my solution, but is this the Only way to do that?

> subtract the value of the control from the max value?
>
[quoted text clipped - 11 lines]
> > Thank u
> > KalliMan
Bob Powell [MVP] - 08 Jun 2007 09:27 GMT
Aside from deriving your own control or writing one from scratch, yes.

Signature

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

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

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

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

> Yes, this looks to be my solution, but is this the Only way to do that?
>
[quoted text clipped - 14 lines]
>> > Thank u
>> > KalliMan

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.