如题。
其中,第二个参数为0,又是何意思啊??
比如:SetWindowLong(hwnd,0,0);

解决方案 »

  1.   

    可是,中间的是0,表示什么啊?MSDN里面没有具体说道吧。
      

  2.   

    LONG SetWindowLong(
      HWND hWnd,       // handle to window
      int nIndex,      // offset of value to set
      LONG dwNewLong   // new value
    );nIndex = 0; // 表示读取 Window Extra Bytes ( 注册窗体时指定的窗体附加字节 参考 MSDN RegisterClass )
    读取 Window Extra Bytes 时 nIndex 可以为 0~ (dwWndExtra / 4) - 1
      

  3.   

    哪里有这方面的资料啊?
    SetWindowLong()不是设置属性吗?怎么是读取呢?