Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog background color
#6
Under case WM_CTLCOLOR..., use

Code:
Copy      Help
SetBkMode wParam 1

It sets texts drawing mode to transparent. To change text color, use

Code:
Copy      Help
SetTextColor wParam 0xff0000

Here 0xff0000 is blue color.

Also look at this:
Dialog fonts


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)