Demon521

Troubleshooting. Good luck to me 2009! 人生中没有Ctrl+Z!
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

newmousemove

Posted on 2008-04-07 14:28  Demon521  阅读(148)  评论(0编辑  收藏  举报
    if(nBinderRect.PtInRect(point) == TRUE)
        

                  
//InvalidateRect(nBinderRect,FALSE);
            
            
//    UpdateWindow();
        
        
//    if(    m_moveflag==1)
        
//    {//    nBinderRectcopy=nBinderRect;
            CDC *pDC=GetDC();
            
//    Sleep(300);
            
//MouseMoveChange();
            
//    Sleep(300);
            
//    DrawEachBinderBgd(&m_MemoryDC,nBinderRect,&BinderInfo);
            
//20061205 ljin 擔杮岅斉偱堦帪嬛巭偟傑偡丅
            
//            DrawBinderBkImage(&m_MemoryDC,nBinderRect,&BinderInfo);
            CBitmap bitmap;
            bitmap.LoadBitmap(IDB_BINDER_NEW);
            
            BITMAP bmp;
            bitmap.GetBitmap(
&bmp);
            
            CDC m_MemoryDC;
            m_MemoryDC.CreateCompatibleDC(pDC);
            
            m_MemoryDC.SelectObject(
&bitmap);
        
         pDC
->StretchBlt(nBinderRect.left, 
                      nBinderRect.top,
                      nBinderRect.right 
- nBinderRect.left,nBinderRect.bottom - nBinderRect.top,&m_MemoryDC,0,0,98,419,
                      SRCCOPY);
            DrawBinderText(pDC,nBinderRect,
&BinderInfo);