By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,795 Members | 1,666 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,795 IT Pros & Developers. It's quick & easy.

How to set BackgroundImage for TrackBar control.

P: n/a
Hi All,

How to set the background image for TrackBar control.
Since BackgroundImage property doesn't visible in design mode, I tried doing
it in run time as follows,

myTrackBar.BackgroundImage = Image.FromFile("C:\myImage.bmp")

But by doing so don't set BackgroundImage of TrackBar.
Any help regarding such will be appreciated.

Thanks in advance
Sakharam Phapale
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Although it comes up in intellisense, background image does not appear to be
supported, its not mentioned in the help.

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Sakharam Phapale" <sp******@annetsite.com> wrote in message
news:u$**************@tk2msftngp13.phx.gbl...
Hi All,

How to set the background image for TrackBar control.
Since BackgroundImage property doesn't visible in design mode, I tried
doing
it in run time as follows,

myTrackBar.BackgroundImage = Image.FromFile("C:\myImage.bmp")

But by doing so don't set BackgroundImage of TrackBar.
Any help regarding such will be appreciated.

Thanks in advance
Sakharam Phapale

Nov 21 '05 #2

P: n/a
Hi Terry,
Thanks for reply.

But, TrackBar.BackgroudImage property is mentioned in the help.
Actually I want to make TrackBar transparent, but it's also not supported.
Is there any other way to do so.

Thanks and regards.
Sakharam Phapale

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:ur**************@TK2MSFTNGP15.phx.gbl...
Although it comes up in intellisense, background image does not appear to be supported, its not mentioned in the help.

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Sakharam Phapale" <sp******@annetsite.com> wrote in message
news:u$**************@tk2msftngp13.phx.gbl...
Hi All,

How to set the background image for TrackBar control.
Since BackgroundImage property doesn't visible in design mode, I tried
doing
it in run time as follows,

myTrackBar.BackgroundImage = Image.FromFile("C:\myImage.bmp")

But by doing so don't set BackgroundImage of TrackBar.
Any help regarding such will be appreciated.

Thanks in advance
Sakharam Phapale


Nov 21 '05 #3

P: n/a
There probably is, but you will more than likely have to refer to the API.

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Sakharam Phapale" <sp******@annetsite.com> wrote in message
news:ez**************@TK2MSFTNGP14.phx.gbl...
Hi Terry,
Thanks for reply.

But, TrackBar.BackgroudImage property is mentioned in the help.
Actually I want to make TrackBar transparent, but it's also not supported.
Is there any other way to do so.

Thanks and regards.
Sakharam Phapale

"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in
message
news:ur**************@TK2MSFTNGP15.phx.gbl...
Although it comes up in intellisense, background image does not appear to

be
supported, its not mentioned in the help.

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
"Sakharam Phapale" <sp******@annetsite.com> wrote in message
news:u$**************@tk2msftngp13.phx.gbl...
> Hi All,
>
> How to set the background image for TrackBar control.
> Since BackgroundImage property doesn't visible in design mode, I tried
> doing
> it in run time as follows,
>
> myTrackBar.BackgroundImage = Image.FromFile("C:\myImage.bmp")
>
> But by doing so don't set BackgroundImage of TrackBar.
> Any help regarding such will be appreciated.
>
> Thanks in advance
> Sakharam Phapale
>
>



Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.