The
SetCursor
function is also called by the default window procedure every time the mouse is moved if it is not captured, and set back to the one used to register the windowclass.
If you want the cursor associated to a window to reshape, you've to call
SetClassLong [
^]and change the associated cursor.