SetWindowLongPtr function

Hi,

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

The link is here: http://msdn.microsoft.com/en-gb/library/windows/desktop/ms644898(v=vs.85).aspx

I’ve just checked the WFS v3.1 and I can only find the SetWindowLong function: http://msdn.microsoft.com/en-gb/library/windows/desktop/ms633591(v=vs.85).aspx

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

Thanks in advance.

Regards,

John

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