主题:如何用SendMessage来设置文本框的内容上下滚动?
lifuwa
[专家分:0] 发布于 2011-01-13 11:02:00
查阅到网上有如下代码可以使文本框内容向左或向右移动:
X = SendMessage(Text1.hwnd, WM_HSCROLL, SB_LINERIGHT, ByVal 0&)
Y = SendMessage(Text1.hwnd, WM_HSCROLL, SB_LINELEFT, ByVal 0&)
请问,我现在不想让它向左或向右移动来阅读文本框中的内容,而是想让它上下滚动来阅读,应该怎么办?请指点!谢谢
[em10]
回复列表 (共12个回复)
沙发
老大徒伤悲 [专家分:29120] 发布于 2011-01-13 11:37:00
H改成V
板凳
lifuwa [专家分:0] 发布于 2011-01-13 12:37:00
[quote]H改成V[/quote]
好象不行
3 楼
老大徒伤悲 [专家分:29120] 发布于 2011-01-13 15:11:00
SB_LINERIGHT
SB_LINELEFT
也改一下看
4 楼
一江秋水 [专家分:9680] 发布于 2011-01-14 08:43:00
EM_SCROLL(&HB5=181),*,0 文本垂直滚动。第三个参数*控制滚动方向:SB_LINEDOWN(1)向下滚动一行,SB_LINEUP(0)向上滚动一行,SB_PAGEDOWN(3)向下滚动一页,SB_PAGEUP(2)向上滚动一页。
另外还可以使用SetScrollInfo(), GetScrollInfo()这两个函数
5 楼
老大徒伤悲 [专家分:29120] 发布于 2011-01-14 09:35:00
谢谢秋水指教
6 楼
孙瑞 [专家分:590] 发布于 2011-01-30 12:21:00
感谢啊!
7 楼
85538946 [专家分:130] 发布于 2011-02-10 01:56:00
学习中
8 楼
goodwe [专家分:30] 发布于 2011-02-25 18:47:00
The blog is really informative and i like to share it with my friends we can easily learn more about web designing through this post thanks for post[url=http://www.oilpaintingsuksale.com]painting oil[/url]
[url=http://www.oilpaintingsuksale.com]painting in oil[/url]
[url=http://www.oilpaintingsuksale.com]oil paints[/url]
[url=http://www.oilpaintingsuksale.com]paint oil[/url]
[url=http://www.oilpaintingsuksale.com]oil on canvas[/url]
[url=http://www.oilpaintingsuksale.com]oil canvas[/url]
[url=http://www.oilpaintingsuksale.com]oil and painting[/url]
[url=http://www.ukdress.co.uk]uk evening dresses[/url]
[url=http://www.ukdress.co.uk]prom dresses uk[/url]
[url=http://www.Laserpointeronsale.com]laser pointers[/url]
9 楼
uggssboots [专家分:0] 发布于 2011-09-16 08:53:00
Thanks for sharing the valuable post.In our usual life,we know all kinds of famous brand,as fall and winter coming,the [url=http://www.shopstyleuggs.com/]Ugg Boots UK[/url],[url=http://www.hotsaleuggs.com/]UGG Boots Sale[/url] at online store also very popular,we like to choose the [url=http://www.shopstyleuggs.com/5803-ugg-bailey-button-c-65.html]Ugg Bailey Button Boots[/url][url=http://www.shopstyleuggs.com/1872-ugg-bailey-button-krinkle-c-92.html]Ugg Bailey Button Krinkle Boot[/url],the classic style [url=http://www.shopstyleuggs.com/5825-ugg-classic-short-c-66.html]Ugg Classic Short Boot[/url]and[url=http://www.shopstyleuggs.com/5815-ugg-classic-tall-c-69.html]Classic Tall Uggs[/url] are many people's favorite.We like that because the boots are made with genuine sheepskin and offer for you absolutely comfortable,just like the [url=http://www.hotsaleuggs.com/women-c-65.html]Uggs Womens Boots[/url] and the beautiful and stylish [url=http://www.hotsaleuggs.com/ugg-jimmy-choo-c-81.html]Ugg Jimmy Choo[/url],sure you will like it.Of course we need to know some match tips,for examply [url=http://www.shopstyleuggs.com/5879-ugg-argyle-knit-c-71.html]Argyle Knit Ugg Boots[/url] and red striped skirt designed to be simple, work is also very simple, striped overall is a very atmospheric style, coupled with the small pieces of white suits and [url=http://www.shopstyleuggs.com/1873-bailey-button-triplet-c-68.html]Bailey Button Triplet Uggs[/url],[url=http://www.shopstyleuggs.com/5125-ugg-coquette-slippers-c-76.html]Ugg Coquette Slipper[/url], very close to the French romantic tone.I believe that most of us like the [url=http://www.shopstyleuggs.com/ugg-womens-classic-mini-chestnut-p-265.html]Ugg Women's Classic Mini Chestnut[/url],such as the stylish and modern [url=http://www.shopstyleuggs.com/ugg-boots-leopard-print-c-73.html]Uggs Leopard Print[/url] ,[url=http://www.hotsaleuggs.com/women-ugg-classic-mini-c-65_68.html]Women's Mini Uggs[/url],[url=http://www.hotsaleuggs.com/women-ugg-bailey-button-triplet-c-65_70.html]Ugg Bailey Button Triplet[/url] boots are many people's best choice for daily life and ideal for every occasions,some girls like the [url=http://www.shopstyleuggs.com/3001-ugg-grab-bags-c-82.html]Ugg Grab Bag[/url] ,also very fashionable.Another style as loose gray long cardigan + T + denim shorts+[url=http://www.shopstyleuggs.com/ugg-womens-classic-short-chocolate-p-255.html]Ugg Women's Classic Short Chocolate[/url]
or [url=http://www.shopstyleuggs.com/5854-ugg-classic-mini-c-67.html]Ugg Classic Mini Boots[/url] or [url=http://www.shopstyleuggs.com/5359-ugg-nightfall-c-87.html]Nightfall Ugg Boots[/url], a long section of light gray cardigan, soft fabric with [url=http://www.shopstyleuggs.com/5819-ugg-classic-cardy-c-70.html]Ugg Classic Cardy Tall[/url] , bringing warm and delicate fashion sense, relaxed sense of style was a long version, with a pair of comfortable [url=http://www.hotsaleuggs.com/ugg-new-arrivals-c-84.html]New Ugg Boots[/url], shape The casual atmosphere and simple design style is very wild.[url=http://www.hotsaleuggs.com/women-ugg-bailey-button-c-65_66.html]Ugg Bailey Button[/url],[url=http://www.hotsaleuggs.com/women-ugg-classic-short-c-65_67.html]Ugg Classic Short[/url] and the comfortable tall [url=http://www.hotsaleuggs.com/women-ugg-classic-tall-c-65_69.html]Ugg Classic Tall[/url] has been to the production of high-grade luxury products and famous no matter in fall or winter,we will choose the [url=http://www.shopstyleuggs.com/ugg-womens-kensington-black-p-340.html]UGG Women's Kensington Black[/url][url=http://www.shopstyleuggs.com/5225-ugg-ultra-short-c-84.html]Ultra Short Uggs[/url] and the nice [url=http://www.shopstyleuggs.com/5245-ugg-ultra-tall-c-85.html]UGG Women's Ultra Tall[/url] ,in one of the online store will find all kinds of the Ugg boots,such as the classic style [url=http://www.shopstyleuggs.com/ugg-womens-bailey-button-grey-p-249.html]Ugg Women's Classic Short Chocolate[/url] ,short one as the [url=http://www.shopstyleuggs.com/3045-ugg-jimmy-choo-sora-c-75.html]Ugg Boots Sheepskin Cuff[/url] ,if you like tall boots ,choose the [url=http://www.shopstyleuggs.com/3045-ugg-jimmy-choo-sora-c-75.html]Ugg Jimmy Choo Boots Sora[/url] ,if you like to send to your friends as birthday ,you may choose the fashionable [url=http://www.hotsaleuggs.com/women-uggs-leopard-print-c-65_74.html]Ugg Leopard Print[/url] and the beautiful [url=http://www.hotsaleuggs.com/women-uggs-romantic-flower-c-65_78.html]Ugg Romantic Flower[/url] or[url=http://www.hotsaleuggs.com/ugg-jimmy-choo-ugg-jimmy-choo-starlit-c-81_76.html]Ugg Jimmy Choo Starlit[/url] ,sure it will be a perfect gift,you will get attractive price and free shipping .Why not choose your favorite boots now.
10 楼
acterbuyy [专家分:0] 发布于 2011-10-31 17:12:00
[url=http://www.cheapreplicawatche.co.uk/]replica watches[/url]
[url=http://www.cheapreplicawatche.co.uk/]replica watches UK[/url]
[url=http://www.cheapreplicawatche.co.uk/]Fake watches[/url]
[url=http://www.cheapreplicawatche.co.uk/]Rolex Replica[/url]
[url=http://www.cheapreplicawatche.co.uk/best-replica-bell-ross-watches-349.html]Bell & Ross Watches[/url]
[url=http://www.cheapreplicawatche.co.uk/best-replica-breitling-watches-312.html]Breitling Watches[/url]
[url=http://www.replicahause.org.uk]Replica Watches[/url]
[url=http://www.cheapreplicawatche.co.uk/best-replica-omega-watches-170.html]Omega Watches[/url]
[url=http://www.cheapreplicawatche.co.uk/best-replica-panerai-watches-292.html]Panerai Watches[/url]
[url=http://www.cheapreplicawatche.co.uk/best-replica-patek-philippe-watches-415.html]Patek Philippe Watches[/url]
[url=http://www.cheapreplicawatche.co.uk/best-replica-rolex-watches-143.html]Rolex watches[/url]
[url=http://www.cheapreplicawatche.co.uk/best-replica-tag-heuer-watches-166.html]Tag Heuer Watches[/url]
[url=http://www.cheapreplicawatche.co.uk/best-replica-uboat-watches-99.html]U-Boat Watches[/url]
[url=http://www.chanelhandbagsale.net/]Chanel Handbags[/url]
[url=http://www.chanelhandbagsale.net/]Replica Chanel[/url]
[url=http://www.chanelhandbagsale.net/]Chanel Replicas[/url]
[url=http://www.chanelhandbagsale.net/]Chanel on Sales[/url]
我来回复