Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

skjwtt

@skjwtt
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Drawing a Bitmap Background
    S skjwtt

    I've found and am trying to implement the suggestion found here (CButtonST v3.9) This basically states that I need to force each button to paint it's background after the OnEraseBkgnd is handled by the dialog by calling OnPostEraseBkgnd. Working on getting this solution to function correctly in my code.

    C / C++ / MFC graphics question

  • Drawing a Bitmap Background
    S skjwtt

    I do handle OnPaint, it was a silly misstatement. I am not sure what you mean by "show your background images in OnPaint method"

    C / C++ / MFC graphics question

  • Drawing a Bitmap Background
    S skjwtt

    I apologize if my attempt to be succinct ended up being unclear. I have looked into what each of you have asked. @Mattias G: Yes, it is a subclassed CButton. I definitely agree that this is being created somewhere, it is just the where I am having difficulty with. I've looked at the OnEraseBkgnd and haven't found anything out of the norm. @shivanandgupta: My OnEraseBkgnd does return true. I do not handle Onpaint method in my dialog. @Niklas Lindquist I do not have WS_CLIPCHILDREN specified in my dialog window. I feel like this is actually rooted in how Create is handled by CButton, one of the window or button styles. I will write back if I find anything.

    C / C++ / MFC graphics question

  • Drawing a Bitmap Background
    S skjwtt

    I have a skinned dialog that I am attempting to place transparent buttons on; based on CButton. However, when I do a create I find that a blank space is created where my button should be. Therefore the background that shows through my transparent image is white rather than the skinned bitmap that should appear. I imagine that the reason this area is not painted is because that area is to be painted by the button. Is there a way to get that area of the background painted despite the fact that the button is to be painted there? Thanks in advance.

    C / C++ / MFC graphics question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups