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

    bitmap check button


    Hi,
    I know how to use :-) the mfc class CBitmapButton but, is there any way to use it with a check button (puslike)?
    or i would need another class

    Thanks in advance



  2. #2
    Join Date
    Jun 1999
    Location
    Germany
    Posts
    343

    Re: bitmap check button

    Hi,

    you can use a normal checkbox.
    Just open the properties of the checkbox and
    change the styles into
    - Pushlike and
    - Bitmap.
    The Bitmap can be set e.g. in your OnInitDialog message handler with SetBitmap(resID).

    ( you can also do this with a radio button )

    Good luck


    Gerd

  3. #3
    Guest

    Re: bitmap check button


    thanks, but your solution shows a bitmap on a button, and what I want is something like the
    class CBitmapButton, that lets set the four bitmaps for the button: UP,DOWN,FOCUSED...


Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured