The SetWindowLong function changes an attribute of the specified window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory.<br><br>Syntax<br><br>LONG SetWindowLong(HWND hWnd, int nIndex, LONG dwNewLong);<br><br>Parameters<br><br>hWnd<br>[in] <br>Handle to the window and, indirectly, the class to which the window belongs.<br><br>Windows 95/98/Me: The SetWindowLong function may fail if the window specified by the hWnd parameter does not belong to the same process as the calling thread.<br><br>..............................................................................................................................................................