代码搜索:统中应用
找到约 10,000 项符合「统中应用」的源代码
代码结果 10,000
www.eeworm.com/read/242302/13079089
txt 如何获得document中的文字和页数.txt
你 可 以 使 用 Selection.Text获 得 当 前 选 中 的 文 字 。
可 以 使 用 BuiltInDocumentProperties(wdPropertyPages)获 得 页 数 , 但 最 好 先 调 用 Repaginate方 法 确 保 页 数 正 确 。 如 :
ActiveDocument.Repaginate
MsgBox A
www.eeworm.com/read/242302/13079301
txt 页面中的activex控件的下载问题.txt
看看这样的方法是否有效:
打开 Flexgrid.cab, 修改其 inf 文件:
1、去掉
[SourceDisksNames]
1="default",,1
2、在[richtx32.OCX]中增加
DestDir=
3、[DestinationDirs]
install
www.eeworm.com/read/242302/13079667
txt 如何得到textbox中第n行字符.txt
利 用 API的 EM_GETLINE消 息 。 下 面 是 一 个 例 子 :
1、 建 立 两 个 控 件 :
Text Box控 件 Text1, MultiLine属 性 为 True
Label控 件 Label1, AutoSize属 性 为 True
2、 加 入 以 下 代 码 :
Option Explicit
www.eeworm.com/read/242302/13079746
txt 如何在richtextbox中实现“撤消(undo)”功能.txt
下 面 的 办 法 不 但 适 用 于 RichTextBox, 也 适 合 于 TextBox。
先 加 入 以 下 定 义 :
Const EM_CANUNDO = &HC6
Private Declare Function SendMessage Lib "User32" Alias _
"SendMessageA" _
(ByV
www.eeworm.com/read/242302/13079752
txt 在程序运行中通过鼠标移动标签.txt
以 下 是 一 个 例 子
module1:
Option Explicit
Public Const GWL_WNDPROC = (-4)
Public Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nInd
www.eeworm.com/read/242302/13079835
txt 在commondialog控件中如何选取多个文件.txt
CommonDialog控 件 的 Flags属 性 有 一 个 标 志 cdlOFNAllowMultiselect。 利 用 这 个 标 志 可 以 实 现 多 选 。 如 :
CommonDialog1.Flags = CommonDialog1.Flags + cdlOFNAllowMultiselect
无 论 是 在 Windows NT 4.0 还 是 在 W
www.eeworm.com/read/242302/13080399
txt 如何在richtextbox中实现“撤消(undo)”功能.txt
下 面 的 办 法 不 但 适 用 于 RichTextBox, 也 适 合 于 TextBox。
先 加 入 以 下 定 义 :
Const EM_CANUNDO = &HC6
Private Declare Function SendMessage Lib "User32" Alias _
"SendMessageA" _
(ByV
www.eeworm.com/read/242302/13080596
txt 怎样在vb中载入某种字体文件.txt
加 载 字 体 使 用 API函 数 CreateScalableFontResource和 AddFontResource。 如 果 不 希 望 使 用 字 体 , 可 以 使 用 RemoveResource。 加 载 后 使 用 字 体 的 方 法 和 Windows自 带 的 字 体 没 有 区 别 。 使 用 AddFontResource加 入 的 字 体 在 计 算 机 启 动 后
www.eeworm.com/read/242302/13080690
txt api定义中的&h是什么含义.txt
www.eeworm.com/read/242302/13080857
txt 如何在程序中禁止屏幕保护程序.txt
利 用 API函 数 SystemParametersInfo可 以 实 现 :
SystemParametersInfo SPI_SETSCREENSAVEACTIVE, False, 0, SPIF_SENDWININICHANGE