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

Re: Reverse TrackBar Control by Bob

Bob
Thu Jun 07 16:09:00 CDT 2007

subtract the value of the control from the max value?

--
--
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.


"KalliMan" <KalliMan@discussions.microsoft.com> wrote in message
news:60C8E3F6-75FC-4779-99D4-08387A62E83A@microsoft.com...
> 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


Re: Reverse TrackBar Control by KalliMan

KalliMan
Fri Jun 08 01:23:00 CDT 2007

Yes, this looks to be my solution, but is this the Only way to do that?

"Bob Powell [MVP]" wrote:

> subtract the value of the control from the max value?
>
> --
> --
> 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.
>
>
> "KalliMan" <KalliMan@discussions.microsoft.com> wrote in message
> news:60C8E3F6-75FC-4779-99D4-08387A62E83A@microsoft.com...
> > 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
>
>

Re: Reverse TrackBar Control by Bob

Bob
Fri Jun 08 03:27:07 CDT 2007

Aside from deriving your own control or writing one from scratch, yes.

--
--
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.


"KalliMan" <KalliMan@discussions.microsoft.com> wrote in message
news:0D348918-4BA6-4DC5-9823-DEC8C632D9B1@microsoft.com...
> Yes, this looks to be my solution, but is this the Only way to do that?
>
> "Bob Powell [MVP]" wrote:
>
>> subtract the value of the control from the max value?
>>
>> --
>> --
>> 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.
>>
>>
>> "KalliMan" <KalliMan@discussions.microsoft.com> wrote in message
>> news:60C8E3F6-75FC-4779-99D4-08387A62E83A@microsoft.com...
>> > 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
>>
>>