如题

解决方案 »

  1.   

    是不同的操作系统吧?
    位置你要自己move的,还要去得标题栏的offset
      

  2.   

    好多原因都可能造成这种现象用MoveWindow精确定位这两个对话框就行了。
      

  3.   

    谢谢您,不过都是XP,而且是我自己Move的
      

  4.   

              CRect rect,ClientRect;

    int y;

        
    GetWindowRect(&rect);

    y=rect.bottom;



      int x=rect.left;

    int   nWidth   =  rect.Width() ;  //GetSystemMetrics(SM_CXSCREEN) 
    m_DlgSongList->GetWindowRect(&rect);
    int   nHeight   =   rect.Height(); //GetSystemMetrics(SM_CYSCREEN)  


    m_DlgSongList->MoveWindow(x,y,nWidth,nHeight,TRUE );//SWP_NOZORDER|SWP_NOMOVE);
    m_DlgSongList->ModifyStyle(0,WS_CAPTION);
    m_DlgSongList->SetWindowText("Song List");
     
    if (!(m_DlgSongList->IsWindowVisible()))
    {
    m_DlgSongList->ShowWindow(SW_SHOW);
    return;
    }