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
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
SetWindowLong()不是设置属性吗?怎么是读取呢?