我再做一个聊天的对话框,以后还要扩充,标题栏不要了

解决方案 »

  1.   

    同意楼上..
    还可以
    对许框对象.SetWindowText("");
      

  2.   

    BOOL CYouDlg::PreCreateWindow(CREATESTRUCT& cs) 
    {
    // TODO: Add your specialized code here and/or call the base class
    cs = WS_POPUP
    return CDialog::PreCreateWindow(cs);
    }
      

  3.   

    设置对话框属性时不要选Title bar选项
      

  4.   

    被二楼抢了...呵呵
    对话框对象.SetWindowText("");
      

  5.   

    对许框对象.SetWindowText(""); 或者改成别的:对许框对象.SetWindowText("地方撒法"); 
      

  6.   

    BOOL CYourView::PreCreateWindow(CREATESTRUCT& cs) 
    {
    // TODO: Add your specialized code here and/or call the base class
    cs = WS_POPUP
    return CDialog::PreCreateWindow(cs);
    }
    这个方法是根本就没有标题栏
      

  7.   

    用SetWindowRgn()  把标题栏割掉~  (注意里面的坐标要准确)  没有标题栏就不能移动了,还可以SendMessage(hwnd,WM_NCHIT...)  这样就可以移动了~