SetWindowLongPtr function


I am looking for a method that implements this function: SetWindowLongPtr

The link is here:

I’ve just checked the WFS v3.1 and I can only find the SetWindowLong function:

Can you guide me how I can use the Ptr function? The method in the WFS is called ChangeWindowStyle.

Thanks in advance.



Since your Xojo app is a 32-bit process, SetWindowLongPtr just maps through to SetWindowLong. You can use the WFS function as is.

Thanks for the tip Tim