HBRUSH hBrush = ::CreateSolidBrush(GetSysColor(COLOR_3DFACE));请各位讲的详细点,谢谢.

解决方案 »

  1.   

    得到一个实画刷,颜色是系统3D框的颜色吧,这个我也不能肯定
    你可以在OnDraw函数中,画个图看一看用这个刷子
      

  2.   

    创建一个颜色为系统中3d元素的显示颜色的实心画刷,COLOR_3DFACE : Face color for three-dimensional display elements and for dialog box backgrounds. The GetSysColor function retrieves the current color of the specified display element. Display elements are the parts of a window and the display that appear on the system display screen. 
      

  3.   

    The CreateSolidBrush function creates a logical brush that has the specified solid color. HBRUSH CreateSolidBrush(
      COLORREF crColor   // brush color value
    );
      

  4.   

    CreateSolidBrush返回一个HBRUSH句柄,它的参数是一个COLORREF,通过GetSysColor(COLOR_3DFACE)函数的返回值得到!!!Understand????????????