static未央

博客园 首页 新随笔 联系 订阅 管理

2011年3月16日 #

摘要: 通过API 来控制richtextbox内文字自动滚动的例子,二话不说,上代码publicpartialclassForm1:Form{[DllImport("user32.dll")][return:MarshalAs(UnmanagedType.Bool)]staticexternboolGetScrollInfo(IntPtrhwnd,intfnBar,refSCROLLINFOlpsi);[DllImport("user32.dll")]staticexternintSetScrollInfo(IntPtrhwnd,intfnBar,[In]re 阅读全文
posted @ 2011-03-16 10:37 abstract未央 阅读(745) 评论(0) 推荐(0)