如题,假设我想查看CBitmap里面的 StretchBlt方法实现,用什么查看

解决方案 »

  1.   

    如果gotodefinition不能找到代码,只找到声明的话
    怕是在dll里
      

  2.   

    gotodefinition找到只是函数声明,没有其它方式了吗?
      

  3.   

    Debug下F11进入看看能看到什么?
      

  4.   

    StretchBlt这个函数,dubug下,F11进去
    _AFXWIN_INLINE BOOL CDC::StretchBlt(int x, int y, int nWidth, int nHeight, CDC* pSrcDC,
    int xSrc, int ySrc, int nSrcWidth, int nSrcHeight, DWORD dwRop)
    { ASSERT(m_hDC != NULL); return ::StretchBlt(m_hDC, x, y, nWidth, nHeight,
    pSrcDC->GetSafeHdc(), xSrc, ySrc, nSrcWidth, nSrcHeight,
    dwRop); }再按f11就出来了