When I inject my DLL into one version of a Win 7 app, a dialog is created by my DLL. For a control, whose background color I want to change, I can see with Spy that the dialog's window gets a WM_CTLCOLORSTATIC message from the control, and my log file tells me that the WM_CTLCOLORSTATIC message is processed by the dialog's procedure. The background color of the control is then correct.
But, for a later version of the app, I can see with Spy that the dialog's window gets a WM_CTLCOLORSTATIC message from the control, and my log file tells me that the WM_CTLCOLORSTATIC message is NOT processed by the dialog's procedure. The background color of the control is then NOT correct.
Is there some global setting for the newer version of the app that prevents my dialog's procedure from processing WM_CTLCOLORSTATIC?
TIA, Pete.