谁能帮我分析一段代码?
2006-03-17 19:31
295 查看
用vb语言
public declare function sendmessage lib "user32" alias "sendmessageA (byval hwnd as long ,byval wmsg as long ,byval wparam as long, byval lparam as any) as long.
public sub trichear( tr treeview)
dim x as integer
with tr
sendmessage .hwnd,&HB,0,0
for x=.nodes.count to 1 step -1
.nodes.removed x
next x
sendmessage .hwnd,&HB,1,0
end with
end sub
上面的sendmessage函数是什么意思啊,它的各个参数是什么意思?还有那个hwnd属性,我是初手,还望大家帮忙.
public declare function sendmessage lib "user32" alias "sendmessageA (byval hwnd as long ,byval wmsg as long ,byval wparam as long, byval lparam as any) as long.
public sub trichear( tr treeview)
dim x as integer
with tr
sendmessage .hwnd,&HB,0,0
for x=.nodes.count to 1 step -1
.nodes.removed x
next x
sendmessage .hwnd,&HB,1,0
end with
end sub
上面的sendmessage函数是什么意思啊,它的各个参数是什么意思?还有那个hwnd属性,我是初手,还望大家帮忙.
相关文章推荐
- 汇编并分析一段简单C代码
- 一段javascript代码分析
- 这是一段对windows启动代码的中文分析
- 多线程程序一段问题代码分析
- 分析网友的一段求救小程序,20行代码有多少错误?多少可改进之处?
- 一段js代码的分析
- 一段流量分析工具代码检视
- 一段标准的数据库连接的代码及详细分析
- notify和notifyAll的一段代码分析
- 对一段有趣代码分析
- 一段代码分析 理解多线程交互
- 每天分析一段linux内核代码---<linux/sched.h>
- 一段代码深入分析
- SVNKIT一段代码的分析
- js中闭包来实现bind函数的一段代码的分析
- js构造函数原型(prototype)问题分析(一段烂代码引发的博客)
- 一段简单C++代码问题分析
- 多线程程序一段问题代码分析(生产者消费者)
- [Happy Coding] 一段调用STL算法的程序代码的效率分析
- 用正则分析一段vb代码含有哪些过程或者函数