Comments (6)
无法快速找到自己想找到的控件,这的确是目前 duilib 的短板,目前的情况如果是自己的项目我建议在 xml 中做好注释,代码分块,让逻辑看起来更加清晰一些。
您说的类似 spy++ 的功能,高度依赖原生 Win32 控件的一些特性,做一个外部工具来实现这样的功能对核心代码改造也是非常大的,目前阶段我们可以不会考虑制作类似的功能。
from nim_duilib_framework.
@nmgwddj ,如果提供一个debug选项,然后代码检查比如"ctrl+鼠标“消息,这个时候可以根据鼠标 pos 判断在哪个控件上,然后改变控件 border 属性。并且获取到控件的 xml,以tooltip形式显示。
这样呢?
from nim_duilib_framework.
这个实现起来也不难 , 向目标文件注入一个dll, 使用duilib库遍历内存
from nim_duilib_framework.
这个实现起来也不难 , 向目标文件注入一个dll, 使用duilib库遍历内存
感觉这样有点复杂了。
我的想法是监听一个快捷键,比如“ctrl+d”,然后 duilib 内部对快捷键处理,获取到鼠标pos处的控件。
然后给控件加属性,比如 border。并且,弹出一个窗口显示这个控件的 xml。
这样就可以了。
from nim_duilib_framework.
@caop3ng 我们可能不会单独排期来添加这个功能,但如果您有兴趣,可以单独开启一个分支来做一些基础工作,我们一起完善。
from nim_duilib_framework.
@caop3ng 我们可能不会单独排期来添加这个功能,但如果您有兴趣,可以单独开启一个分支来做一些基础工作,我们一起完善。
@nmgwddj 嗯嗯,好的。暂时我对 duilib 了解的还不够。
from nim_duilib_framework.
Related Issues (20)
- list怎么去掉了 header
- 如何在richedit中添加图片等?
- mini_blink加载的页面不响应鼠标点击
- GetDpiImageFullPath函数有泄漏 HOT 2
- 能否支持运行期间响应DPI变化
- master分支能否支持克隆下来能直接使用vs2022编译通过的 HOT 4
- 想用该框架来做音视频通话,请问是否合适?可以给一些思路和建议吗?感谢 HOT 2
- OptionBox设置selected属性后无效 而且程序运行崩溃
- 自定义控件绘制本地摄像头数据没有颜色 HOT 1
- duiLib有什么交流群吗?这个项目目前还在维护吗?
- 缺少cefwrapper的lib库
- ui::GlobalManager::CreateBoxWithCache返回null;
- 插件模块的开发
- shadowattached=“false“ 导致 RichEdit 透明穿透 到底怎么修复啊!还是不会! HOT 1
- develop版 怎么修改编码都编译不通过
- 把一个session_box单独出来放在session_form中后,任务栏缩略图空白 HOT 1
- bool ScrollableBox::IsAtEnd() 在特定情况下返回值不准的问题 HOT 1
- ui框架中图标有毛边 HOT 1
- 在触摸屏下,点击cef中页面的输入框,无法弹出系统虚拟键盘(软键盘)的问题 HOT 1
- cef控件,监听事件无返回 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nim_duilib_framework.