How do I call SetWindowLong() in the 64-bit versions of Windows?

后端 未结 3 1379
夕颜
夕颜 2021-02-18 16:55

In the header file WinUser.h, there is a part in which the constants of the second parameter of SetWindowLong() are defined.

// ...

#define GWL_WNDP         


        
3条回答
  •  南笙
    南笙 (楼主)
    2021-02-18 17:18

    Also make sure you're NOT defining the following:

    #define NOWINOFFSETS

    which makes GWL_*, GCL_*, ie. GetWindowLongPtr and family, as well as associated routines available.

提交回复
热议问题