Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Draw on a control
#6
Hi Gintaras,
This is probably figure-out-able from what you have in the section and examples but I am still having trouble. I would like to give a color to both the background dialog and the splitter. Perhaps same perhaps different.
To give dialog background color, I use this:

Code:
Copy      Help
DT_SetBackgroundColor(hDlg 0 0xB48246) ;;blue 70 130 180

If there was a way to similarly assign color to this element, that would be great. I guess if it was transparent, it would take the background color but still be grab-able?

I see that this may be relevant but not yet sure how to implement:

Code:
Copy      Help
SetBkMode hdc TRANSPARENT

Not sure what this would do with any draw-on-controls.

Thanks for any help!
S


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)