How does one change the fore/background colors of a DDT Label control outside of
the dialog callback? I've searched the forums and found examples of how to change
the colors inside the callback but nothing else. I tried this code but it didn't work:
I need to be able to set the colors to indicate a failure condition to the user.
Thanks!
------------------
Mark Newman
the dialog callback? I've searched the forums and found examples of how to change
the colors inside the callback but nothing else. I tried this code but it didn't work:
Code:
hWnd = GetDlgItem(hDlg, %LABEL_STATUS) hDC = GetDC(hWnd) SetTextColor hDC, %White SetBkColor hDC, %Red
Thanks!
------------------
Mark Newman
Comment