的确是这样的,要重载dialog的paint吧,试试

解决方案 »

  1.   

    对话框加上WS_CLIPCHILDREN样式看看。
      

  2.   

    对话框加个WS_CLIPCHILDREN试试!
      

  3.   

    怎么加WS_CLIPCHILDREN,请再具体说说,谢谢各位
      

  4.   

    WS_CLIPCHILDREN   Excludes the area occupied by child windows when you draw within the parent window. Used when you create the parent window.virtual BOOL Create( LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
    //dwStyle
      

  5.   

    // Used when you create the parent window.