CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: CSpinButtonCtrl

  1. #1
    Join Date
    Dec 2019
    Posts
    13

    CSpinButtonCtrl

    How can we change the background color from grey to another of Arrow Buttons of CSpinButtonCtrl Class ?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,797

    Re: CSpinButtonCtrl

    Did you try to use the CMFCSpinButtonCtrl Class instead?
    Victor Nijegorodov

  3. #3
    Join Date
    Dec 2019
    Posts
    13

    Re: CSpinButtonCtrl

    Yes CMFCSpinButtonCtrl is also derived from CSpinButtonCtrl.

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    19,797

    Re: CSpinButtonCtrl

    Quote Originally Posted by prernagupta171995 View Post
    Yes CMFCSpinButtonCtrl is also derived from CSpinButtonCtrl.
    And did you try to override its CMFCSpinButtonCtrl::OnDraw method?
    Victor Nijegorodov

  5. #5
    Join Date
    Dec 2019
    Posts
    13

    Re: CSpinButtonCtrl

    Thanks for the response Victor will try to implement the OnDraw function.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)