09-08-2016, 04:10 PM
I have two questions regarding the use of DT_SetBackgroundColor in a dialog, given that
1. DT_SetBackgroundColor(id(4 hDlg 0) 0x00FFFF) does not work for a static control. I wonder about my error.
2. I wonder whether this statemnt (DT_SetBackgroundColor) can work for a button. I am aware of topic Rich Edit on Toolbar Buttons and Text
Many thanks in advance.
Quote:DT_SetBackgroundColor(hDlg 0 0x00FFFF)works properly for the dialog.
1. DT_SetBackgroundColor(id(4 hDlg 0) 0x00FFFF) does not work for a static control. I wonder about my error.
2. I wonder whether this statemnt (DT_SetBackgroundColor) can work for a button. I am aware of topic Rich Edit on Toolbar Buttons and Text
Many thanks in advance.