Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Static Text not taking background color
#2
I would need a dialog that has this problem.

----------------

Try this code. Delete f.SetDialogFontColor(...).
Function Dialog_font_sample4
Code:
Copy      Help
,case WM_CTLCOLORSTATIC
,SetBkMode wParam TRANSPARENT
,SetTextColor wParam 0xff ;;red text
,ret GetStockObject(NULL_BRUSH) ;;transparent brush


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)