Does anyone know how to set the window background color of a datagrid control? This is the color of the area between the control border and the grid of cells. DataGrid1.BackColor sets the background color of the cells and not of this area. Please provide code if you can.
SendMessage(DataGrid1.hWnd, theMessageID, 0, theCOLOREFColor)
along with OleTranslateColor() to convert the VB color to RGB is the way to do it but I don't know theMessageID to change the window color.
Actually I would like to set the background color to that of the content area of an MDI child window.