- 23
- 0
- 约8.49千字
- 约 8页
- 2017-09-23 发布于河南
- 举报
看到《如何在DW中设置自动列宽》,从我的类库中扣了一段代码回复了,后来又从旧硬盘中找到原来老外写的对象,上传给大家吧
$PBExportHeader$n_dwautowidth.sru
$PBExportComments$Performs autowidth on grid datawindow columns
forward
global type n_dwautowidth from nonvisualo b j e c t
end type
end forward
type os_size from structure
long cx
long cy
end type
global type n_dwautowidth from nonvisualo b j e c t autoinstantiate
end type
type prototypes
Function ulong GetDC(ulong hWnd) Library user32.dll
Function ulong SelectObject(ulong hdc, ulong hWnd) Library gdi32.dll
Function boolean GetTextExtentPoint32A(ulong hdcr, string lpString, long nCount, ref os_size si
您可能关注的文档
最近下载
- 物业异地分公司管理探究.doc
- 合规红线与避坑实操手册(2026)《NBT 35045-2014水电工程钢闸门制造安装及验收规范》.pptx VIP
- 抱朴子全文及译文讲解 抱朴子作者及朝代.pdf VIP
- 广东省2026届高三(二模)语文试卷(含案及解析).pdf
- 教师人工智能应用案例征集PPT模板.pptx VIP
- 2025年承德市围场满族蒙古族自治县小升初数学秋季入学摸底测试卷(含答案).doc VIP
- 第5课《孔乙己》练习(含答案)2024—2025学年统编版语文九年级下册.pdf VIP
- 合规红线与避坑实操手册(2026)《SLT 381—2021水利水电工程启闭机制造安装及验收规范》.pptx VIP
- 2026年人教版三年级数学下册期中测试卷(含答案解析)5套精品全.docx VIP
- 合规红线与避坑实操手册(2026)《NBT 35051-2015水电工程启闭机制造安装及验收规范》.pptx VIP
原创力文档

文档评论(0)