同题。它都有什么用处?哪些书上有说呀?谢谢

解决方案 »

  1.   

    不懂,帮忙你up不过我有一段透明窗体代码(转贴)
    BOOL CALLBACK EnumChildFunc(HWND hwnd, LPARAM lParam)
    {
        CRgn *pRgn = (CRgn*)lParam;
        CRect rcChild;
        ::GetWindowRect(hwnd, rcChild);
        CRgn rgnChild;
        CRgn rgnCopy;
        rgnCopy.CreateRectRgn(0, 0, 1, 1);
        rgnCopy.CopyRgn(pRgn);
        rgnChild.CreateRectRgn(rcChild.left, rcChild.top, 
                               rcChild.right, rcChild.bottom);
        pRgn->CombineRgn(&rgnCopy, &rgnChild, RGN_OR);
        return TRUE;
    }int SetBackTransparent(CWnd *pWnd, BOOL bClientOnly = TRUE)
    {
        CRgn rgn;
        if(bClientOnly)
        {
            CRgn rgnWindow, rgnClient;
            CRect rcWindow, rcClient, rcRgn;
            pWnd->GetWindowRect(rcWindow);
            pWnd->GetClientRect(rcClient);
            pWnd->ClientToScreen(rcClient);
            rgnWindow.CreateRectRgn(rcWindow.left, rcWindow.top, 
                                    rcWindow.right, rcWindow.bottom);
            rgnClient.CreateRectRgn(rcClient.left, rcClient.top, 
                                    rcClient.right, rcClient.bottom);
            rgn.CreateRectRgn(0, 0, 1, 1);
            rgn.CombineRgn(&rgnWindow, &rgnClient, RGN_DIFF);
        }
        else
        {
            rgn.CreateRectRgn(0, 0, 0, 0);
        }
        ::EnumChildWindows(pWnd->GetSafeHwnd(), (WNDENUMPROC)EnumChildFunc,(LPARAM)&rgn);
        return pWnd->SetWindowRgn(rgn, TRUE);
    }
    调用办法:
    在CYourDialog::OnInitDialog里加上
    SetBackTransparent(this);
    如果要连非客户区都透明,用
    SetBackTransparent(this, FALSE);
      

  2.   

    hamming window?看看信号处理的方面的书吧!
      

  3.   

    一般使用IIR滤波时才会使用hamming window ,比如gaussian,  sinc滤波.
    有关数字信号处理的书上有