Windows Builder 使用总结

简介: Windows Builder 使用总结

从Eclipse MarketPlace 下载Windows Builder

所有控件的实例如下:

https://www.eclipse.org/swt/snippets/

 

1.如何提取可执行文件exe的图标

/** extract the exe file's icon */
public static Image getImage4exe(String path) {
    /* Use the character encoding for the default locale */
    TCHAR lpszFile = new TCHAR(0, path, true);
    long[] phiconSmall = new long[1];
    OS.ExtractIconEx(lpszFile, 0, null, phiconSmall, 1);
    if (phiconSmall[0] == 0) {
        return null;
    }
    Image ret = Image.win32_new(null, SWT.ICON, phiconSmall[0]);
    return ret;
}

看我在stackoverflow的答复:

How to display system icon for a file in SWT?

SWT/JFACE源码下载

目录
相关文章
|
缓存 负载均衡 网络协议
windows之DNS7种资源记录和flushdns命令清除DNS缓存以及nslookup解析域名和ipconfig/all命令查看网络配置使用总结
windows之DNS7种资源记录和flushdns命令清除DNS缓存以及nslookup解析域名和ipconfig/all命令查看网络配置使用总结
1264 0
windows之DNS7种资源记录和flushdns命令清除DNS缓存以及nslookup解析域名和ipconfig/all命令查看网络配置使用总结
|
Windows 内存技术 开发工具
windows 安装 flash builder 开发flex 4 项目
1,安装flash builder  flex开发工具。我使用的是4.6的版本。 sn可以使用: http://www.cnblogs.com/wangjiangze/archive/2012/03/28/2421789.html flash builder 扫盲问题: http://blog.csdn.net/hongtaodai/article/details/68855
1360 0
|
C++ Windows
windows 7 c++ builder 6 F1 帮助无法打开 解决办法
下载  Windows6.1-KB917607-x86.msu  补丁,百度也有
1014 0
|
安全 数据安全/隐私保护 虚拟化
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
3389 2
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
1374 0
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
|
运维 安全 网络安全
Windows Server 2019拨号“找不到设备”?Error 1058解决指南
Windows Server 2019拨号报错1058?别急!这不是硬件故障,而是关键服务被禁用。通过“服务依存关系”排查,依次启动“安全套接字隧道协议”“远程接入连接管理”和“路由与远程访问”服务,仅需4步即可恢复PPPoE或VPN拨号功能,轻松解决网络中断问题。
1002 1
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
1600 0
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
13130 3
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 9 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 9 月更新)
4012 2