Not a problem, but possibly of interest: in the case %WM_CTLCOLORSTATIC
I had "Select case CbCtl" and that did not work (the control remained
the default silver grey). As coded below, it works.
'______________________________________________________________________
'______________________________________________________________________
------------------
I had "Select case CbCtl" and that did not work (the control remained
the default silver grey). As coded below, it works.
'______________________________________________________________________
Code:
CallBack Function EstMnuCallback Select Case CbMsg Case %WM_CTLCOLORLISTBOX SetBkMode CbWparam, %TRANSPARENT SetTextColor CbWparam, %BLACK SetBkColor CbWparam, %Cream Function = CreamBrush& Case %WM_CTLCOLORSTATIC SetBkMode CbWparam, %TRANSPARENT Ci&=GetDlgCtrlID (CbLparam) Select Case Ci& Case %PromptLbl SetTextColor CbWparam, %Black SetBkColor CbWparam, %Cream Function = CreamBrush& End Select End Select End Function '(EstMnuCallback)
------------------
Comment