实现编程语言为易语言,所用到的函数集合到WinApi2.6中(点击下载)
效果图
文章源自楠竹林-https://www.nanzl.com/archives/873
所要用到的函数
- API_SetWindowLong
- API_DlgDirList
- API_SetWindowLong
- API_DlgDirListComboBox
- API_AtlAxWinInit
- API_CreateWindowEx
- AtlAxGetControl
.版本 2 .程序集 窗口程序集_窗口1 .程序集变量 obj, 对象 .子程序 _按钮1_被单击 .局部变量 hWnd, 整数型 API_SetWindowLong (列表框1.取窗口句柄 (), -12, 1001) API_DlgDirList (取窗口句柄 (), “C:\Windows\AppPatch”, 1001, 0, 5) API_SetWindowLong (组合框1.取窗口句柄 (), -12, 1002) API_DlgDirListComboBox (取窗口句柄 (), “C:\Windows\AppPatch”, 1002, 0, 5) API_AtlAxWinInit () hWnd = API_CreateWindowEx (0, “AtlAxWin”, “Shell.Explorer.1”, 十六进制 (“50000000”), 256, 28, 280, 260, 取窗口句柄 (), 1003, 0, 0) AtlAxGetControl (hWnd, obj) obj.数值方法 (“Navigate”, “C:\Windows\AppPatch\”)
评论