How can I increase the thickness of a CSliderCtrl
(slide开发者_开发问答r control) in MFC?
MoveWindow()
can be used for any MFC control. Try this:
CRect rc;
slider.GetWindowRect(rc); // Get the slider rectangle in absolute corrdinates
rc.InflateRect(30, 30); // Do whatever you want with your rectangle;
ScreenToClient (rc); // Convert to dialogs's coordinates
slider.MoveWindow(rc); // Move it!
Update:
For further customization you have to make an owner-drawn CListCtrl
. You may take this article as a good start for that
精彩评论