| VB声明 | |
| Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long | |
| 说明 | |
| 在窗口结构中为指定的窗口设置信息 | |
| 返回值 | |
| Long,指定数据的前一个值 | |
| 参数表 | |
| 参数 | 类型及说明 |
| hwnd | Long,欲为其取得信息的窗口的句柄 |
| nIndex | Long,请参考GetWindowLong函数的nIndex参数的说明 |
| dwNewLong | Long,由nIndex指定的窗口信息的新值 |