Re: Drawing trackbar thumbs
- From: Andy Tang <Andy_Tang2k@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Apr 2005 08:54:55 GMT
Hi AliR,
Thanks for your reply and your effort. Unfortunately, I am creating my own control using CWnd and I only want to draw the thumb control from the slider (the triangle pointer thingy).
I already use DrawThemeBackground with the TKP_THUMBTOP part to draw the XP version of the thumb, but this doesn't work on non-XP platforms. So I'd hope DrawFrameControl would do it.
Any suggestions?
Thanks again, Andy
AliR wrote:
The CSliderCtrl give you adequate functionality when it comes to tick marks (if that is what you are talking about). You have SetTickFreq(..) and SetTick(..)
Or do you want to draw your own tick marks? Take a look at these examples
http://www.codeproject.com/miscctrl/csliderctrlex.asp http://www.codeproject.com/miscctrl/CustomDrawCSliderCtrl.asp
both are very good articles.
AliR.
"Andy Tang" <Andy_Tang2k@xxxxxxxxxxxxxxxxxx> wrote in message news:N3c7e.1$443.0@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
Does anyone know how to draw the thumb of a trackbar control (pointed arrow thumb of a slider) easily? I had a look at DrawFrameControl but it looks like it only draw buttons, captions, menus and scrollbar.
Thanks all
.
- References:
- Drawing trackbar thumbs
- From: Andy Tang
- Re: Drawing trackbar thumbs
- From: AliR
- Drawing trackbar thumbs
- Prev by Date: Re: Losing UDP packets with MFC Sockets
- Next by Date: Re: Losing UDP packets with MFC Sockets
- Previous by thread: Re: Drawing trackbar thumbs
- Next by thread: SetForegroundWindow not working?
- Index(es):