Borderless buttons

This is a discussion on Borderless buttons within the Windows Programming forums, part of the Platform Specific Boards category; I've got a bitmap assigned to a button, however I'd like to get rid of the 3D bevel border around ...

  1. #1
    Semi n00b Mithoric's Avatar
    Join Date
    Jun 2003
    Posts
    293

    Borderless buttons

    I've got a bitmap assigned to a button, however I'd like to get rid of the 3D bevel border around the button, or make it look as though it is gone by changing the colors of it.

    I've looked at some MSDN stuff but it didn't seem to be what I needed.

    Any ideas?

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Experiment with different settings in resource editor.

    Kuphryn

  3. #3
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,853
    make the button 'FLAT'
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  4. #4
    Semi n00b Mithoric's Avatar
    Join Date
    Jun 2003
    Posts
    293
    Ok, I've done some searching for FLAT buttons and I haven't been able to turn up anything not MFC.

    Perhaps you can explain the concept to me?

  5. #5
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,853
    Look under styles

    from MSDN

    'Button Styles"

    BS_FLAT
    Specifies that the button is two-dimensional; it does not use the default shading to create a 3-D image."
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  6. #6
    Semi n00b Mithoric's Avatar
    Join Date
    Jun 2003
    Posts
    293
    Hrmm... Very weird, why did the examples I see (which did the same effect) use cheesy hacks and class modifications and stuff?? Very weird..

    No matter, this works nicely!

    Cheers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 04-09-2009, 02:31 AM
  2. Ownerdraw buttons (2)
    By maes in forum Windows Programming
    Replies: 7
    Last Post: 09-11-2003, 05:50 AM
  3. Radio Buttons in Visual C++ 6
    By Ripper1 in forum Windows Programming
    Replies: 22
    Last Post: 05-16-2003, 07:54 AM
  4. (Ken Fitlike) buttons
    By jdinger in forum C++ Programming
    Replies: 4
    Last Post: 03-15-2002, 12:21 PM
  5. Grouping radio buttons
    By Bazz in forum Windows Programming
    Replies: 1
    Last Post: 08-28-2001, 07:15 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21