怎样得到视图区的颜色?/,该如何解决

怎样得到视图区的颜色?????????????????????/
怎样得到视图区的颜色?或者怎样得到视图类的 窗口类的 背景画刷 ----hbrBackground ?????????????
同时 怎样改变视图客户区颜色?????????????????????????

------解决方案--------------------
GetClassLongPtr,用GCLP_HBRBACKGROUND索引
------解决方案--------------------
用FillRect
------解决方案--------------------

C/C++ code
CRect rect;
        CPaintDC dc(this);
        GetClientRect(rect);
        dc.FillSolidRect(rect,RGB(182,248,163));  //设置为绿色背景

------解决方案--------------------
自绘,用颜色画刷填充即可
------解决方案--------------------
改变的话就是
DWORD SetClassLong(
HWND hWnd, // handle to window
int nIndex, // index of value to change
LONG dwNewLong // new value
);