|
20炫彩币
SetClassLongA (XWnd_GetHWND (全_主窗口句柄), -26, 位或 (GetClassLongA (XWnd_GetHWND (全_主窗口句柄), -26), 131072))
如上,用SetClassLongA 设置样式 和用GetClassLongA获取样式,弄出来是负数,在原始窗口正常,在炫彩窗口上比较特别吗?
炫彩窗口是从内存加载的布局文件创建的。
|
最佳答案
查看完整内容
SetClassLong Function
If the function succeeds, the return value is the previous value of the specified 32-bit integer. If the value was not previously set, the return value is zero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
如果失败返回值是0 , 如果成功返回先前设置的值, 如果先前没有设置,返回0;
|