⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 19500.html

📁 VB技巧问答10000例 VB技巧问答10000例
💻 HTML
字号:
<html>  <head>    <title>Re: 请问richtextbox内的字有没有办法向字的上缘对齐?</title>  </head>  <body bgcolor="#FFFFFF" vlink="#808080">    <center>      <h1>Re: 请问richtextbox内的字有没有办法向字的上缘对齐?</h1>    </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by Mikasa on September 30, 1999 at 18:21:40:<p>In Reply to: <a href="19484.html">Re: 请问richtextbox内的字有没有办法向字的上缘对齐?</a> posted by 琏琏 on September 30, 1999 at 10:39:19:<p>: : : : : 应该可以用 Windows API , <br>: : : : : hDC=GetWindowDC(RichTextBox.hWnd)<br>: : : : : SetTextAlign hDC, TTA_TOP<br>: 说明:<br>: 1.是 TA_TOP 没错, TTA_TOP 是打太快没看到...<br>: 2.可能是 GetWindowDC 取得的是非工作区... , 因为 GetWindowDC 可能会传回卷轴之类的 hDC, 应该用 GetDC 取得文字区的 hDC...<br>: 3.我没实测过, 我也不知道, 若是无效, 那我也不知道了!<p>谢谢您的热心帮忙~我会再试试看的!:)<br><br><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 19500--><!--top: 19504--><li><a href="19504.html">Re: 请问richtextbox内的字有没有办法向字的上缘对齐?</a> <b>mikasa</b> <i>20:09:54 9/30/99</i>(<!--responses: 19504-->0)<ul><!--insert: 19504--></ul><!--end: 19504--></ul><!--end: 19500--><br><hr size=7 width=75%><p></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -